🌍 Public
Viewing a saved revision (read-only)
1c963088b8c1449eadae2ef9e86a8b7c
Vega-Lite API Template
This example shows a grouped bar chart comparing religious populations across five countries, with each bar segmented by religion and sorted by total population. It uses the Vega-Lite API to declare the visualization, registering vega, vega-lite, and vega-tooltip handlers, then renders it as SVG. The data is loaded from a local CSV via d3.csv, and a custom config adjusts axis and font styles for readability.
AI-generated descriptionA visualization constructed using the vega-lite-api.