Viewing a saved revision (read-only)
8107a61a5b9b4634bb3033b1124ef03d
World Map and Australian States
This interactive map visualization lets users explore world countries and Australian states through a React-based interface. The main view renders world map data from the world-atlas TopoJSON dataset using D3 projections, with controls to switch between Natural Earth, Orthographic, Mercator, and Albers projections, plus a toggle for graticule grid lines. Clicking a country displays a detail panel with population, GDP, and regional information from the GeoJSON properties. The code leverages D3's geoPath, geoGraticule, and projection functions, while an additional choropleth view colors Australian states by population using d3.scaleSequential with an interpolateBlues color scheme.
AI-generated description