Skip to main content
100%

Vega-Lite API Template - Bar Chart Largest Countries

✓ Published0🌍 Public
Kkatebacon32
Last edited Apr 1, 2021
Created on Apr 1, 2021

This example displays a stacked bar chart of the largest countries by population, with bars segmented by religion and sorted by total population descending. The visualization uses the Vega-Lite API to define the chart’s marks and encodings, while D3.js fetches CSV data from a GitHub-hosted dataset. A custom configuration adjusts axis styling and typography, and Vega-Tooltip provides interactive hover details.

AI-generated description

A visualization constructed using the vega-lite-api. Scatter Plots

MIT Licensed

Similar vizzes