Skip to main content
100%

Vega-Lite API Template - Stacked Bar Chart

✓ Published0🌍 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.

MIT Licensed

Similar vizzes