Skip to main content
100%

Stacked Bar Chart

✓ Published0🌍 Public
JJohn Jeevasaeyan
Last edited Sep 6, 2021
Created on Sep 6, 2021

This stacked bar chart displays the population distribution across five countries, broken down by religion, using a horizontal bar for each country with colored segments representing different religious groups. The visualization is built with the vega-lite-api library, which wraps Vega and Vega-Lite, and loads CSV data from a GitHub gist containing the religion-by-country dataset. Bars are sorted by total population in descending order, with opacity set to 0.8 and tooltips showing exact population values on hover, while the chart is configured to fit the full browser window.

AI-generated description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes