Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Loading Data Religion by Country Francesca Sajedi

Public visualization

Viewing a saved revision (read-only)

ddab4f00a995443e9411144e1e43ee69

Fork of Loading Data Religion by Country Francesca Sajedi

0 stars1🌍 Public
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