Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Vega-Lite API Template

Public visualization

Viewing a saved revision (read-only)

f00cf73857444700b4d5f2a4c1320c23

Fork of Vega-Lite API Template

0 stars0🌍 Public
Tthanhtrdang
Last edited Aug 9, 2021
Created on Aug 9, 2021

This example visualizes the relationship between engine displacement and horsepower for a collection of automobiles, with each point rendered as a semi-transparent circle and tooltips revealing the car’s name. Built using the Vega-Lite API, the chart is generated programmatically through `vl.markPoint` and `vl.encode` calls, with data loaded via `d3.csv` from a remote CSV file. The visualization is embedded in a web page that imports Vega, Vega-Lite, and Vega-Tooltip, and it automatically fills the browser window with a custom dark theme and large-axis labels.

AI-generated description

A visualization constructed using the vega-lite-api.