Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Vega-Lite API Template

Public visualization

Viewing a saved revision (read-only)

39e89984647c4c1591937df7474ad33f

Fork of Vega-Lite API Template

0 stars1🌍 Public
DDipak654
Last edited Dec 4, 2021
Created on Dec 4, 2021

This example visualizes religious demographics across countries using a bar chart, with each bar representing a country and the color encoding the population for each religion. The visualization is built using the Vega-Lite API and rendered with D3.js, incorporating vega-tooltip for interactive hover details. Data is loaded from a CSV file hosted on GitHub, containing population figures for various religions by country. The chart fills the entire window and uses custom styling to adjust font sizes and axis appearance for readability.

AI-generated description

Data visualization population by religion with respect to their country