quantize vs quantile (and then quantize.quantile())

343 views
Skip to first unread message

Marjorie Roswell

unread,
Dec 8, 2013, 4:44:42 PM12/8/13
to d3...@googlegroups.com
I've been mapping for a long time, but sometimes I just can't get the difference between quantize and quantile. 

This isn't quite doing it for me:
http://stackoverflow.com/questions/19258996/what-is-the-difference-between-d3-scale-quantize-and-d3-scale-quantile
(Occasionally it comes into focus, and then goes right back out of focus again. Add quantize.quantiles() into the mix, and then I'm just flummoxed.

Would be great if someone "in the know" could do a visualization of all of the scales (and maybe even including Jenks natural breaks in the visualization ( https://gist.github.com/tmcw/4969184  )

I picture a bar chart, maybe, and buttons that show how each of the scales would classify the data.

Anyone game for this? (Or has it already been done?)


Scott Murray

unread,
Dec 8, 2013, 7:13:35 PM12/8/13
to d3...@googlegroups.com
Perhaps Eden could be convinced to add that feature to this excellent scale generator:

http://edenhalperin.com/d3-scale-generator/

Scott :-)
Reply all
Reply to author
Forward
0 new messages