Hacker News new | past | comments | ask | show | jobs | submit login
[flagged]
chl 12 days ago | hide | past | web | favorite



This is great! Thanks Mike!

When I've helped teach D3 it's always hard to get some of the basic concepts of joins and scales locked in. Mike gives a thorough overview of what is going on (and this is still an introduction) it's hard to teach when to choose what type of scale for people that might have forgotten some of their math lingo.

I've had some success in (maybe wrongly) demonstrating scales with mapping temperature in Farenheit and Celsius and how the scale is drawn if the domain and range are both 0-100 vs a scale of 0-100 and a domain of 32-212.

Curious if anyone else has any examples that help demonstrate some of these concepts based on their experiences!


I wrote an essay on methods of comparison in 2018 that’s tangentially related (though more focused on color than position). It was inspired by an article by Lisa Charlotte Rost on log scales.

https://observablehq.com/@mbostock/methods-of-comparison-com...

https://blog.datawrapper.de/weeklychart-logscale/

With the COVID-19 pandemic, the topic of log scales has even made its way into The New York Times as people try to wrap their heads around exponential growth.

https://www.nytimes.com/2020/03/20/health/coronavirus-data-l...


Concurrent discussion: https://news.ycombinator.com/item?id=22675551

(Perhaps mods can combine the two posts?)




Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact

Search: