Top Religion Per Country with Filter
✓ Published1🌍 Public
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 descriptionBased 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.
MIT Licensed