Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Vega-Lite API Template - stacked barchart

Public visualization

Vega-Lite API Template - stacked barchart

0 stars1๐ŸŒ Public
Llaplantalaplanta
Last edited Jan 20, 2022
Created on Jan 20, 2022

This example presents a stacked bar chart of population by religion across countries, using a dark-themed visualization to improve readability. The chart is built with the Vega-Lite API, which programmatically constructs the specification, while D3.js handles CSV data loading from a remote source. The visualization renders through Vega and Vega-Lite, with a tooltip handler for interactive population details. The chart resizes to fit the browser window, and the color encoding distinguishes religious affiliations.

AI-generated description

A visualization constructed using the vega-lite-api.

Comments

Sign in to join the discussion.

MIT Licensed