Skip to main content
100%

Vega-Lite API Template - Bar Chart

✓ Published0🌍 Public
Nnkohdatavis
Last edited Jul 25, 2020
Created on Jul 24, 2020

This bar chart displays the top five countries by population, with country names sorted by descending population on the x-axis and population totals on the y-axis. The visualization uses the Vega-Lite API to construct the bar mark and its encoding, with data fetched from a CSV file via `d3.csv`. The chart renders as SVG through the `vega-lite-api` library, with a custom tooltip handler and a configuration that removes axis domains and sets tick colors to light gray.

AI-generated description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes