🌍 Public
Viewing a saved revision (read-only)
2745b4935d3f47eb85ff9f2ec469ea1b
Stacked Bar Chart
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 descriptionA visualization constructed using the vega-lite-api.