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)

012036124d024640874960948d1d3bcf

Fork of Vega-Lite API Template

0 stars0🌍 Public
YYing-Liu21
Last edited Apr 14, 2021
Created on Apr 14, 2021

This example displays a scatter plot of automobile data, mapping miles per gallon on the x-axis against horsepower on the y-axis, with color encoding for the country of origin and point size reflecting vehicle weight. Tooltips reveal each car’s name. Built with the Vega-Lite API, it registers Vega, Vega-Lite, and Vega-Tooltip, loads CSV data via d3.csv, and applies a custom configuration for styled axes and labels. The chart renders in SVG and fits the browser window.

AI-generated description

A visualization constructed using the vega-lite-api.