Skip to main content
Public

Share visualization

Loading preview…

Top Religion Per Country with Filter

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Top Religion Per Country with Filter

1
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

Comments

Sign in to join the discussion.

MIT Licensed