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)

92be5f448f324a67bfd0f81f3f28d2e2

Fork of Vega-Lite API Template

0 stars0🌍 Public
KKNJour
Last edited Jun 1, 2022
Created on May 31, 2022

This example presents a bar chart of population by country, with bars colored by religion, using the Vega-Lite API. It loads CSV data from a GitHub gist via D3’s `csv` function. The chart is rendered with Vega-Lite’s `markBar` encoding x by country, y by population, and color by religion. The visualization is built with `vega-lite-api` and rendered to SVG through Vega, with tooltips provided by `vega-tooltip`.

AI-generated description

A visualization constructed using the vega-lite-api.