Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Vega-lite Stacked Bars

Public visualization

Viewing a saved revision (read-only)

463ad572c9534f21b8fde12155a2bfa3

Vega-lite Stacked Bars

0 stars0🌍 Public
LLewis Ward
Last edited Jun 25, 2021
Created on Jun 25, 2021

This example uses a circular mark to visualize the population of religious groups across countries, with the size of each circle encoding population magnitude. The x-axis positions countries sorted by total population, while the y-axis separates religious affiliations. The visualization is rendered using the vega-lite-api, which registers vega and vega-lite for declarative chart specification, and loads data from a CSV file containing religion-by-country statistics. The chart employs a custom config to style axes and labels, and tooltips are enabled through the vega-tooltip Handler.

AI-generated description

A visualization constructed using the vega-lite-api.