Vega-Lite API Template
✓ Published1🌍 Public
This example presents a stacked bar chart of population by country, with each bar segmented by religion, using data from a CSV file. It is built with the Vega-Lite API, which composes the visualization declaratively through methods like `markBar`, `x().fieldN`, and `y().fieldQ`. The chart renders in SVG via vega, vega-lite, and vega-lite-api, with tooltips enabled through vega-tooltip. Custom axis and label styling are applied from a separate `config.js` module.
AI-generated descriptionA visualization constructed using the vega-lite-api.
MIT Licensed