Skip to main content
Public

Share visualization

Loading preview…

Fork of Loading Data Religion by Country Francesca Sajedi

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

Fork of Loading Data Religion by Country Francesca Sajedi

1
Ffsajedi22
Last edited Feb 25, 2023
Created on Jan 24, 2023
Forked from Loading Data

This example loads a CSV of religion data by country and displays the raw parsed data in a text format. The visualization fetches data.csv, parses it with `csvParse`, and converts quantitative fields like Christian, Muslim, and Buddhist populations to numbers. The current view shows the structured data as a JSON string, with a loading state indicated before the fetch completes. The code uses D3 v7’s `select` and `csvParse` to manage data loading and rendering updates.

AI-generated description

Data from: https://github.com/curran/data/blob/gh-pages/pew/religion/religionByCountry.csv

Questions:

Look at the different religions on a map to see the spread of religion Being able to show the population of a country by relgion Map view of all the different religions (maybe the top one per country)

NULL for any of the religions means < 10000

Column Header Type Country Categorical Christian Quantitative Muslim Quantitative Unaffiliated Quantitative Hindu Quantitative Buddhist Quantitative Folk Religions Quantitative Other Religions Quantitative Jewish Quantitative

Comments

Sign in to join the discussion.

MIT Licensed