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

Feature request: exp scale #279

Open alephpi opened 1 year ago

alephpi commented 1 year ago

First thanks for your awesome work, it really solves many low-level headaches for us.

In my star map project, I try to visualize the star brightness by the point radius. Given star magnitude in data, since the magnitude is log-scale to the brightness, I need exp scale for such conversion.

Related to #48

BTW, is it possible to have arbitrary scale by providing a scaling function? I think that will be much convenient for customizing scales.