Skip to main content
100%

pre-class choropleth fork 5/7

✓ Published0🌍 Public
Cchris.shimotake@gmail.com
Last edited May 7, 2024
Created on May 7, 2024
Forked from Choropleth

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 description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes