Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Vega-Lite API Template

Public visualization

Viewing a saved revision (read-only)

4f66cea570ed4c47bc6d0fe4d886c00d

Vega-Lite API Template

0 stars1🌍 Public
Ssriramvsharma
Last edited Jul 27, 2020
Created on Jul 26, 2020

A bar chart visualizes historical figures from the Pantheon dataset, comparing their Heritage Price Index (hpi) across ten countries while color-coding by occupation. The visualization filters the raw CSV data to include only mathematicians, statisticians, computer scientists, engineers, inventors, biologists, and physicists from the United States, United Kingdom, Germany, Italy, China, India, Japan, South Korea, Canada, and France. Built with the Vega-Lite API, the chart uses `vl.markBar()` and encodes fields for country, hpi, occupation, and tooltip with figure names. The code loads data via D3's `csv`, applies custom configuration for axis styling, and renders through Vega, Vega-Lite, and vega-tooltip libraries.

AI-generated description

A visualization constructed using the vega-lite-api.

An exploration of the Pantheon dataset: Pantheon.world