[beta] Chloroplet map project feedback

[beta] Chloroplet map project feedback
0.0 0

#1

Sup, here’s the link: http://codepen.io/Selhar/full/RpRdpr/

I’ve noticed that the little ticks show up at the end of the legend, but i’ve decided to leave it alone for now and fix it on a later date. Other than that, any feedback is appreciated.


#2

Haiiyo!

I looked at the code closely, not least because I haven’t done that project yet—but I had a similar scale issue with one of my d3 projects and, instead of finding a way to set the number of ticks and readjusting the position of them with styling, I found that d3.scaleBand is very helpful in cases like what you described.

It’s worth noting that you can easily use d3.range to generate the correct numbers domains for the scale.

Good luck! :slight_smile: