d3 / d3-scale

Encodings that map abstract data to visual representation.
https://d3js.org/d3-scale
ISC License
1.59k stars 286 forks source link

implicit trim for log ticks #254

Closed mbostock closed 3 years ago

mbostock commented 3 years ago

Fixes #42. For log scales, we don’t want an implicit precision because each tick can be a different power; however for integer bases it is almost always desirable to trim trailing zeroes, so now it happens automatically.