Hacker News new | past | comments | ask | show | jobs | submit login

I only mention it because I learned the difference yesterday, but that is a bar graph, not a histogram.



If anyone's curious (like I was), a histogram has a continuous variable for it's x-axis, the bars on a histogram correspond to bins of the continuous variable. E.g. 1-10, 11-20, 21-30. In a bar graph, the x-axis is usually a discontinuous variable, typically types, with no specifically meaningful sort order, e.g. in this case, countries. Also, by convention, histograms have no spaces between bars to represent the continuity while bar graphs do to represent the discontinuity. Correct me if I'm wrong.


You're right. Seeing as I've been using the term 'histogram' in place of 'bar chart' all the time, that's some life-changing information right there.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: