-
Notifications
You must be signed in to change notification settings - Fork 184
A multi-line time format by default #1285
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
Labels
enhancement
New feature or request
Comments
Another useful thing we could do is add a title (tooltip) that gives you the full date and time on hover. This way even if the axis tick is ambiguous (e.g., only showing milliseconds), you can hover to see the complete time. |
Prototype: https://observablehq.com/d/b10d9ab04d996d26 |
This was referenced Jun 22, 2023
nachocab
added a commit
to nachocab/plot
that referenced
this issue
Jun 26, 2023
Probably not needed now that observablehq#1285 was closed by observablehq#1718
Fil
pushed a commit
that referenced
this issue
Jun 26, 2023
Fil
pushed a commit
that referenced
this issue
Aug 21, 2023
chaichontat
pushed a commit
to chaichontat/plot
that referenced
this issue
Jan 14, 2024
Probably not needed now that observablehq#1285 was closed by observablehq#1718
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Now that we support multi-line ticks, it’d be nice if time scales used them by default. For example, rather than this (ref. https://observablehq.com/@hrbrmstr/cdc-avian-flu-outbreak-tracker):
You might get this:
I think this means rolling our own time format, rather than relying on d3-scale’s default.
Ref. https://blog.datawrapper.de/new-axis-ticks/
The text was updated successfully, but these errors were encountered: