Skip to main content
100%

Top Religion Per Country with Filter

✓ Published1🌍 Public
Ffsajedi22
Last edited Mar 23, 2023
Created on Mar 23, 2023

This visualization presents a choropleth map of the world, coloring each country by its predominant religion. Users can click on color legend entries to filter and highlight countries sharing that religion. The map is rendered using D3 v5’s `geoPath` with a natural Earth projection and a `scaleOrdinal` color scheme. The legend, built with a custom `colorLegend` component, offers interactive filtering. Data is loaded from a TSV file containing country codes and religion labels, joined with geographic features from the world-atlas TopoJSON source.

AI-generated description

Based on the 2018 course, added in my own data There are still some kinks to work out as I am missing some data and some of it is not reading right.

https://vizhub.com/curran/d5ad96d1fe8148bd827a25230cc0f083

MIT Licensed

Similar vizzes