Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Vega-Lite API Template

Public visualization

Viewing a saved revision (read-only)

c7743c84d06545a09e0247040bb292a5

Vega-Lite API Template

0 stars0🌍 Public
Llscholz1
Last edited Apr 26, 2020
Created on Apr 26, 2020

This example visualizes the population of countries in 2015 using a bar chart, with countries sorted in descending order of population. The visualization is built with the Vega-Lite API, which registers Vega and Vega-Lite libraries, and uses D3’s `csv` loader to fetch the dataset from a GitHub gist. The chart renders in an SVG view, with a tooltip from `vega-tooltip` to display population values on hover, and uses a custom config for axis and label styling.

AI-generated description

A visualization constructed using the vega-lite-api.