Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Vega-Lite API Template

Public visualization

Viewing a saved revision (read-only)

a9a175557a374c9f92b312dbff84b5a0

Vega-Lite API Template

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

This example shows global hospital bed counts by country, with bars colored by hospital type and sorted by value. It uses the vega-lite-api to construct a bar chart specification programmatically, then renders it with Vega-Lite and Vega. Data is loaded asynchronously via d3.csv from a GitHub-hosted CSV file. The visualization fills the browser window, using a custom dark theme and Vega Tooltip for interactive hover details.

AI-generated description

A visualization constructed using the vega-lite-api.