World Tour
✓ Published0🌍 Public
DDangTHS
Last edited Nov 11, 2017
Created on Nov 11, 2017
This visualization presents an animated tour of countries on a globe using an orthographic projection. Each country's name is displayed before the globe rotates to center on that nation, with land, country borders, and the selected country drawn in separate colors onto a Canvas. The code loads world geometries from a TopoJSON file and country names from a TSV file, then uses D3's `d3.geo.path`, `d3.geo.centroid`, and `d3.interpolate` within a `d3.transition` queue to animate the rotation and redraw each frame.
AI-generated descriptionSee discussion on Hacker News. Built with D3 and TopoJSON.
forked from <a href='http://bl.ocks.org/mbostock/'>mbostock</a>'s block: <a href='http://bl.ocks.org/mbostock/4183330'>World Tour</a>
gpl-3.0 Licensed