Skip to main content
100%

Cross Country Trip

✓ Published0🌍 Public
CCurran Kelleher
Last edited Mar 9, 2019
Created on Jun 23, 2016

This layered map visualizes global population density using NASA's "Earth at Night" imagery, overlaid with world country and US state borders and Stamen Toner label tiles. The visualization supports panning and zooming, and an animation automatically moves the view westward. Implemented with D3 v4, it uses `d3.tile`, `d3.geoMercator`, `d3.geoPath`, `d3.zoom`, and `d3.timer` to manage tiled raster layers, vector paths, and continuous motion, with a click toggling the animation.

AI-generated description

Ever since I found out about Nasa's "Earth at Night" imagery, I wanted to make a map that puts the splotches of light into context. With this layered visualization, you can clearly see which splotches of light correspond to which cities, and into which states or countries they fall.

Click to start and stop the motion.

You can explore the whole world by panning and zooming.

This visualization uses d3-tile to show 4 layers:

Derived from <a href='http://bl.ocks.org/mbostock/'>mbostock</a>'s block: <a href='http://bl.ocks.org/mbostock/5914438'>Raster & Vector III</a>.

<!-- Start of SimpleHitCounter Code --> <div align="center"><a href="http://www.simplehitcounter.com" target="_blank"><img src="http://simplehitcounter.com/hit.php?uid=2130839&f=16777215&b=0" border="0" height="18" width="83" alt="web counter"></a></div> <!-- End of SimpleHitCounter Code -->
gpl-3.0 Licensed

Similar vizzes