Bubble enter/exit/update pattern
Description
Modified the bubble chart enter-exit-update pattern and force simulation so species transition between time periods instead of always entering from the center of the svg.
Changes Made
Improved the update approach so that exiting circles are invisible but still present, and transitions depend on changes in size. This makes it so the species constant between time periods are also constant in the bubble chart.
How to Test
Provide instructions and/or code necessary to test the changes.
Review Needs
Does this MR include data processing, modeling, or visualization code that will require domain review prior to release?
-
Yes, and I have opened an issue to document the need for review, using the DomainReview
issue template -
Yes, and a domain review issue already exists -
No
Related Issues
Provide links to any related issues, including open draft domain review issues.
Additional Notes
Include any extra information or considerations for reviewers.
Merge Request Checklists
-
Code changes adhere to best practices documented in README.md
-
Code has been cleaned the way Vue likes it - run npm run lint --fix
-
If applicable, the need for future domain review has been documented in an issue -
Below section documents which browsers the site has been tested on: - Desktop/laptop
-
Chrome -
Safari -
Edge -
Firefox
-
- Mobile device
-
Chrome -
Safari -
Edge -
Firefox
-
- Desktop/laptop