TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: World Population with D3

94 pointsby 1wheelabout 11 years ago

11 comments

bhaumikabout 11 years ago
Yo, I heard you like world population data:<p>3D using WebGL - <a href="http://workshop.chromeexperiments.com/globe/" rel="nofollow">http:&#x2F;&#x2F;workshop.chromeexperiments.com&#x2F;globe&#x2F;</a><p>By latitude &amp; longititude - <a href="http://www.radicalcartography.net/histpop.png" rel="nofollow">http:&#x2F;&#x2F;www.radicalcartography.net&#x2F;histpop.png</a>
sillysaurus3about 11 years ago
This is the best population visualization I&#x27;ve ever seen. It&#x27;s striking that spikes turned out to be so superior to heatmaps. It&#x27;s possible to intuit the whole dataset at a glance, whereas heatmaps force you to constantly worry about the meaning of every color in relation to every other color.<p>It&#x27;s obvious in retrospect why spikes are superior: precision. Spikes represent the underlying data much more accurately than colors, especially between datapoints.
评论 #7378619 未加载
grimtriggerabout 11 years ago
Beautifully done<p>ps, noticed you posting in on reddit. I would submit to <a href="http://www.reddit.com/r/visualization" rel="nofollow">http:&#x2F;&#x2F;www.reddit.com&#x2F;r&#x2F;visualization</a> as well
评论 #7377100 未加载
Cogitoabout 11 years ago
Looks great, and generally very smooth for me.<p>When the tooltip changes location it is quite jarring, but I have no good solution for that :) - perhaps only flip the position when you would otherwise obscure the underlying visualisation, rather than when you cross the centre? You could then have the tooltip &#x27;push up&#x27; to the edge when you navigate close to it, but when the tooltip would otherwise not be obscuring. There was a submission to HN not too long ago that featured a library that would simplify creating this kind of behaviour, but alas I cannot find it.<p>It took me a while to click on the different years at the bottom, and until I did I wasn&#x27;t certain what the tooltip data was representing. Probably not a problem, as the discovery was fun, but I guess many might not explore that far.<p>Out of interest, what were your design thought process when choosing a map projection?
评论 #7377294 未加载
greggmanabout 11 years ago
Neat!<p>Would be interesting to see predictions through say 2100 or 2200 maybe with different models.<p>IIRC the current predictions are we&#x27;ll peak around 2050-2060 after which world population will start declining. That assumes that as countries become more affluent they start having less and less children which leads to a population decline. IDK if those models take into account longer lifespans.<p><a href="http://en.wikipedia.org/wiki/Projections_of_population_growth" rel="nofollow">http:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Projections_of_population_growt...</a>
haraballabout 11 years ago
Very nice! Is it inspired by the Joy Division album cover?<p><a href="http://en.wikipedia.org/wiki/Unknown_Pleasures" rel="nofollow">http:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Unknown_Pleasures</a>
aalpbalkanabout 11 years ago
This is surprisingly slow on my computers whereas other WebGL stuff are rendered pretty well. I guess that&#x27;s the cost of doing things with SVG.
mxfhabout 11 years ago
As linked in the about section: the original print visualization artwork by James Cheshire: <a href="http://spatial.ly/2013/09/population-lines/" rel="nofollow">http:&#x2F;&#x2F;spatial.ly&#x2F;2013&#x2F;09&#x2F;population-lines&#x2F;</a>
narfquatabout 11 years ago
Pretty cool. Something is wrong in the top left quadrant though, the graph tooltip becomes a little sluggish when it is anchored to the bottom right of the cursor. Might be related to array reversals, etc.
评论 #7377254 未加载
jonahxabout 11 years ago
Nicely done but I&#x27;m not sure the spikes are a better fit for this than an ordinary heat map would be.
评论 #7379156 未加载
chmabout 11 years ago
Look at mainland China in 1990, then click on 2015.
评论 #7377144 未加载