Skip to main content
100%

vega-light

✓ Published0🌍 Public
Iindranil-sri
Last edited Nov 10, 2021
Created on Nov 9, 2021

This example uses Vega-Lite’s JavaScript API to render a stacked bar chart of global religious populations by country, sourced from a CSV file. The visualization sorts countries in descending order and encodes religion with color, with tooltips for each segment. It integrates React, Vega, and Vega-Lite through the `vega-lite-api`, and applies custom axis and label styling from a shared config. The chart is rendered as SVG, fitting the full browser window.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes