Skip to main content
100%

Fork of Vega-Lite API Template

✓ Published0🌍 Public
Ssimontoblad
Last edited Jan 27, 2022
Created on Jan 27, 2022

This example shows a horizontal bar chart of population by country, with bars sorted in descending order and tooltips displaying population values on hover. Built using the Vega-Lite API, it loads CSV data from an external URL via d3.csv, configures visual styling through a custom config object, and renders the chart as an SVG using vega and vega-lite. The chart resizes to fit the window with automatic width and height calculations, and tooltips are enabled through the vega-tooltip Handler.

AI-generated description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes