Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Vega-Lite API Template - Stacked Bar Chart

Public visualization

Viewing a saved revision (read-only)

e699416d1a2c4bcbb8c06142ee997bd7

Vega-Lite API Template - Stacked Bar Chart

0 stars0🌍 Public
Nnkohdatavis
Last edited Jul 25, 2020
Created on Jul 25, 2020
Forked from Hello VizHub

This stacked bar chart visualizes the distribution of religious affiliations across countries, using circle area to encode population size for each country-religion pair. The visualization is built with the Vega-Lite API, which registers Vega and Vega-Lite libraries to generate an SVG rendering. Data is loaded asynchronously from a CSV file via d3.csv, and the chart includes interactive tooltips handled through the vega-tooltip library. The visualization employs custom configuration for axis styling and font sizing, with automatic resizing to fit the viewport dimensions.

AI-generated description

A visualization constructed using the vega-lite-api.