Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Vega-Lite API Template

Public visualization

Viewing a saved revision (read-only)

0ba3777a757745389c95e4a6a6f5222f

Vega-Lite API Template

0 stars0🌍 Public
Pprincit
Last edited Apr 28, 2020
Created on Apr 28, 2020

This example shows a grouped bar chart comparing religious populations across five countries, with each bar segmented by religion and sorted by total population. It uses the Vega-Lite API to declare the visualization, registering vega, vega-lite, and vega-tooltip handlers, then renders it as SVG. The data is loaded from a local CSV via d3.csv, and a custom config adjusts axis and font styles for readability.

AI-generated description

A visualization constructed using the vega-lite-api.