Skip to main content
100%

Fork of Bar Chart to Mutli Stack Bar Chart

✓ Published0🌍 Public
AAndres de la Garza
Last edited Mar 2, 2021
Created on Mar 2, 2021

This example shows world population by country, broken down by religion, as a stacked bar chart. Each bar represents a country, with segments colored by religion and tooltips revealing the specific group. Using the vega-lite-api and vega-tooltip libraries, the visualization loads CSV data from a GitHub gist, renders with SVG, and applies custom styling for larger fonts and dark text. The bars are sorted by total population and sized via the `size` property for readability.

AI-generated description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes