🌍 Public
Viewing a saved revision (read-only)
57ec73f2c3d84a149c1d5b4db463cc1f
Week 9 Make a Map
This example shows an animated orthographic world map that rotates continuously while simulating day and night shading. The globe is tilted at Earth's 23.5-degree axial angle, with a dark-to-light sequential color scale marking the sunlit and shadowed hemispheres. Using d3.geoOrthographic and d3.geoPath, it renders country boundaries from the visionscarto world-atlas TopoJSON source, with d3.geoGraticule adding latitude and longitude lines. A d3.timer drives the rotation and shading updates, while a d3.scaleSequential with interpolateHcl creates the dusk-like color gradient.
AI-generated descriptionA basic world map.
See also:
MIT Licensed