Skip to main content
100%

Religion Choropleth Map

✓ Published0🌍 Public
Ffsajedi22
Last edited Apr 10, 2023
Created on Apr 10, 2023
Forked from Choropleth Map

This animated choropleth map visualizes the dominant religion in each country using a rotating orthographic globe. Country polygons are colored via a categorical scale, with gray indicating missing data. The visualization uses D3’s `geoOrthographic`, `geoPath`, `geoGraticule`, `scaleOrdinal`, and `schemeCategory10`, with an interactive legend from `colorLegend.js` that filters highlights on hover. Data comes from a 2020 CSV of religions by country, merged with country shapes from the visionscarto-world-atlas TopoJSON, fetched using `Promise.all` and parsed with `csvParse`.

AI-generated description
MIT Licensed

Similar vizzes