vega-light
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.