Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ (scatter) don't animate as a time scatter #4038

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sophiamersmann
Copy link
Member

@sophiamersmann sophiamersmann commented Oct 8, 2024

Animates a scatter as a cloud of moving dots and keeps the axes fixed. The axes are fixed for the particular time range that is animated.

At the animation's beginning and end, the view "jumps" to the new axis domains. The same happens when an animation is paused and the user starts dragging one of the sliders.

The animation in relative mode is unchanged. Getting the right axis domain doesn't seem trivial to me unless I'm missing something, so it's not worth doing at this point IMO.

In a follow-up PR, I'll also look into fixing the size domain.

Copy link
Member Author

sophiamersmann commented Oct 8, 2024

@owidbot
Copy link
Contributor

owidbot commented Oct 8, 2024

Quick links (staging server):

Site Admin Wizard

Login: ssh owid@staging-site-scatter-animation

SVG tester:

Number of differences (default views): 0 ✅
Number of differences (all views): 0 ✅

Edited: 2024-10-08 15:28:59 UTC
Execution time: 1.38 seconds

@sophiamersmann sophiamersmann force-pushed the scatter-animation branch 5 times, most recently from 71e0c7c to 26f3537 Compare October 9, 2024 12:41
@sophiamersmann sophiamersmann marked this pull request as ready for review October 9, 2024 14:38
Copy link
Member

@marcelgerber marcelgerber left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well done, I like it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants