Skip to main content
100%

Fork of Chloropleth

✓ Published2🌍 Public
Bbepnye@gmail.com
Last edited May 2, 2024
Created on May 2, 2024
Forked from Choropleth

This visualization displays a choropleth map of world countries colored by birth rate, using a blue-to-red linear color scale. It renders two SVG graphics, each half the width of the full canvas, using the D3.js `geoEqualEarth` projection and `geoPath` to draw country boundaries from a GeoJSON file. The code loads world statistics from a CSV and matches country names to shapefile features, falling back to gray for missing data. It leverages D3's `scaleLinear` for color encoding and `Promise.all` to load multiple datasets concurrently.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes