Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Ep18: Vega-Lite API

Public visualization

Ep18: Vega-Lite API

0 stars1🌍 Public
SStoo Sepp
Last edited Oct 26, 2021
Created on Oct 26, 2021

This visualization displays automobile data from a CSV file, plotting engine origin, horsepower, weight, and miles per gallon as a scatter plot with circles of varying size and color. The example highlights the convenience of the Vega-Lite API (vl) for declarative charting, which constructs and renders the specification. It uses vega-lite and vega to compile the spec, d3.csv for data ingestion, and vega-tooltip to provide interactive tooltips on hover. The chart is configured to fit the browser window.

AI-generated description

A visualization constructed using the vega-lite-api.

Comments

Sign in to join the discussion.

MIT Licensed