pre-class choropleth fork 5/7
✓ Published0🌍 Public
This example combines a choropleth map with an interactive scatter plot, visualizing country-level attributes such as life expectancy, birth rate, and urbanization rate. The map uses `d3.geoEqualEarth` and `d3.geoPath` to render geographic features, with a linear color scale encoding the selected attribute. The scatter plot supports toggling between linear and log scales for both axes via `d3.scaleLog` and `d3.scaleLinear`, with smooth transitions. Country data is parsed and matched to map features using custom name normalization in `dataProcessing.js`, all rendered in SVG using D3 v6.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed