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)

68a1709b7ca2471e9b44a17f3826bee2

Fork of Vega-Lite API Template

0 stars0🌍 Public
AasafJortilles
Last edited Mar 23, 2023
Created on Mar 23, 2023

This example displays a bar chart of population by country, colored by religion, with a tooltip showing temperature on hover. The visualization is built using the Vega-Lite API, which wraps Vega and Vega-Lite specifications, and renders to SVG. Data is loaded asynchronously from a CSV file via D3’s `csv` function, sourced from the auto-mpg dataset. The chart is configured with custom axis and label styling, and fills the full viewport using automatic resizing.

AI-generated description

A visualization constructed using the vega-lite-api.