-
-
Notifications
You must be signed in to change notification settings - Fork 229
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
✨ (slope) improve hover interaction #3270
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @sophiamersmann and the rest of your teammates on |
6e99b29
to
1929d3a
Compare
68b333a
to
28e2a26
Compare
1929d3a
to
c371dac
Compare
28e2a26
to
453c38c
Compare
c371dac
to
7883eec
Compare
453c38c
to
79f7bf7
Compare
79f7bf7
to
1b74736
Compare
1b74736
to
0c94b50
Compare
0c94b50
to
ff9abda
Compare
e14309a
to
1dcd907
Compare
1dcd907
to
8d58cce
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work! I left two comments, but otherwise this is great and a definite improvement. 🙌🏻
packages/@ourworldindata/grapher/src/slopeCharts/SlopeChart.tsx
Outdated
Show resolved
Hide resolved
packages/@ourworldindata/grapher/src/slopeCharts/SlopeChart.tsx
Outdated
Show resolved
Hide resolved
a81448e
to
225a57d
Compare
5242128
to
9cc854d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
Improves hover interaction on slope charts.
Summary
How do we figure out which slope is currently closest to the mouse?
Caveats
Videos
Before/After
before.mov
after.mov
Context
Part of a larger body of work. See stack 👇🏻
SVG tester
All slope charts are updated because of the
cursor
change.