Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Vega-Lite API Template

Public visualization

Viewing a saved revision (read-only)

93184551d0da496497b9d2e9392e1e75

Fork of Fork of Vega-Lite API Template

0 stars0🌍 Public
Mmuwu16
Last edited Jul 30, 2021
Created on Jul 30, 2021

This visualization displays a scatter plot of automobile data from the UCI Auto MPG dataset, mapping fuel efficiency (mpg) against horsepower. Each point’s size encodes vehicle weight, while color distinguishes the country of origin. The chart uses the vega-lite-api DSL to construct the specification, with vega, vega-lite, and d3.csv handling data loading and rendering. Custom axis styles and tooltips are applied via vega-tooltip, and the view auto-fits to the window using vega’s autosize configuration.

AI-generated description

A visualization constructed using the vega-lite-api.

The data shown here comes from the UCI Machine Learning Repository: Auto MPG Data Set, via Gist: Scatter Plot with Menus.