Vega-Lite API Template
✓ Published0🌍 Public
This example shows a stacked bar chart of population by country, with bars segmented by religion. The visualization is built entirely with the Vega-Lite API, which registers Vega and Vega-Lite libraries in a D3-based setup. Data is loaded asynchronously from a CSV via D3’s `csv` function. The chart uses a config object to customize axis and label styles, and a tooltip handler displays population values on hover.
AI-generated descriptionA visualization constructed using the vega-lite-api.
MIT Licensed