add unixDay interval by mbostock · Pull Request #58 · d3/d3-time
Conversation
Adds a d3.unixDay time interval as described in d3/d3-scale#245, and adopts it for d3.utcTicks in place of d3.utcDay such that ticks are always uniformly spaced.
Fixes observablehq/plot#1025.
Fil approved these changes Dec 1, 2022
Fil
left a comment
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 happier histograms
Hmm, this fixes d3.utcTicks, but doesn’t help d3.timeTicks. Do we need an equivalent of d3.unixDay for local time, too?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters