Vega-Lite API Template
✓ Published2🌍 Public
This example presents a bar chart of population by country, with bars segmented by religion, using the Vega-Lite API. The visualization reads CSV data from a GitHub gist via `d3.csv` and encodes country, population, and religion through `vl.x()`, `vl.y()`, and `vl.color()`. It renders as an SVG in the browser, applying custom axis and label styling from a config object. The chart also includes tooltips for population values, powered by the Vega Tooltip handler.
AI-generated descriptionA visualization constructed using the vega-lite-api.
MIT Licensed