🌍 Public
Viewing a saved revision (read-only)
68a1709b7ca2471e9b44a17f3826bee2
Fork of Vega-Lite API Template
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 descriptionA visualization constructed using the vega-lite-api.