Viewing a saved revision (read-only)
d884929e40904b18bd54d61396ff490a
Week 9 Make a Map
This example presents an orthographic projection of the world map, tilted to match Earth's 23.5-degree axial tilt, with a continuous rotation animation and a day/night visual effect via the light and dark shading. The map is rendered using the d3-geo projection and geoPath, with country boundaries drawn from the visionscarto world-atlas topoJSON data. Static elements like graticule lines and the outline are drawn once, while the rotating countries update at a fixed speed using d3's timer. The code leverages the d3-geo library's geoOrthographic projection and geoGraticule for the spatial framework, and topojson-client to parse the world atlas data.
AI-generated descriptionA basic world map.
See also: