Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Bar Chart to Mutli Stack Bar Chart

Public visualization

Viewing a saved revision (read-only)

c7b46a10c1514122a3f8f3c1a25cdbd8

Fork of Bar Chart to Mutli Stack Bar Chart

0 stars0🌍 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.