Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Religion Choropleth Map

Public visualization

Religion Choropleth Map

1 star0🌍 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

Comments

Sign in to join the discussion.

MIT Licensed