Skip to main content
100%

Vega-Lite API Template

✓ Published1🌍 Public
Pprincit
Last edited Apr 27, 2020
Created on Apr 27, 2020

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 description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes