Skip to main content
100%

Fork of Vega-Lite API Template

✓ Published1🌍 Public
Sstevensmithj
Last edited Feb 5, 2022
Created on Feb 3, 2022

A Vega-Lite API visualization displays country populations from a 2015 CSV dataset as black bars, sorted alphabetically by country name. The chart uses Vega-Lite’s `markBar` encoding for x-position and population on the y-axis, with tooltips showing exact population values. Built with the `vega-lite-api` library, D3’s `csv` loader fetches the data, while `vega-tooltip` provides interactive hover details. The visualization renders as an SVG, fitted to the full browser window with custom styling from the `config.js` file.

AI-generated description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes