Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Vega-Lite API Template

Public visualization

Viewing a saved revision (read-only)

cbea6b59d5594d03bd98a3b5f77e295c

Fork of Vega-Lite API Template

0 stars0🌍 Public
DDusty
Last edited Jul 23, 2021
Created on Jul 23, 2021

This example displays a bar chart of population by country, with bars segmented by religion. The visualization uses the Vega-Lite API to construct the chart, and the Vega and Vega-Lite libraries to render it as an SVG. The data is loaded from a CSV file using d3.csv. The bars are sorted by population in descending order, and tooltips show the population value for each segment. Chart appearance is customized through a configuration object.

AI-generated description

A visualization constructed using the vega-lite-api.