logoalt Hacker News

albert_etoday at 2:48 AM2 repliesview on HN

shouldn't a serious heatmap (or any comparative graph for that matter) normalize the stat being displayed versus the baseline population in that bucket?

in otherwords, plot the percentage or average metric and not the absolute metric.

e.g. number of lotto winners per thousand people living in that grid, percentage of starred repos as a percentage of all repos, per capita alcohol consumption, average screen-time etc.

Edit: unless ofcourse the point of the heatmap is to show the population distribution itself. In which case the metric would be number of people per square kilometer or some such.


Replies

patmorgan23today at 2:50 PM

Yes, this is why we use per capita stats for basically everything.

withinboredomtoday at 9:02 AM

Still would just show where people live. If nobody lives there, you've got a null (or divide by zero) spot on the map ... so you just show where people live.