Skip to main content
100%

Fork of Vega-Lite API Template

✓ Published0🌍 Public
Vvangenned
Last edited Aug 11, 2022
Created on Aug 9, 2022

This example visualizes the top five religions by country using a stacked bar chart, with bars sorted by total population and colored by religious affiliation. The visualization is built with the Vega-Lite API, which programmatically constructs a bar mark with x, y, color, and tooltip encodings from CSV data loaded via d3.csv. The chart auto-sizes to the browser window and applies custom axis and label styling from a configuration object. Vega tooltips display temperature values on hover, though the underlying dataset contains population and religion fields.

AI-generated description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes