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)

d5b871caacb3490faa260a204102e662

Fork of Vega-Lite API Template

0 stars0🌍 Public
Jjbruzzo
Last edited Jun 29, 2022
Created on Jun 29, 2022

This example uses the Vega-Lite API to create a bubble chart showing the population of each religion across countries, with circular marks sized by population and colored by country. The visualization loads CSV data from a GitHub gist, renders with SVG via Vega, and includes tooltips for inspecting values. The code configures axes, labels, and styling for readability, while the chart automatically fits the window dimensions. It leverages D3 for data fetching, Vega for rendering, and Vega-Lite’s declarative encoding for marks and scales.

AI-generated description

A visualization constructed using the vega-lite-api.