Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Vega-Lite API Template

Public visualization

Vega-Lite API Template

0 stars0🌍 Public
Ddumbdataguy@gmail.com
Last edited Oct 21, 2023
Created on Oct 21, 2023

This visualization displays the relationship between miles per gallon, horsepower, and model year for vehicles in the Auto MPG dataset from the UCI Machine Learning Repository. Using the Vega-Lite API, it renders a scatter plot where circle size encodes year and color encodes mpg. The code registers Vega-Lite with Vega, applies a custom configuration for axis styling, and loads the data via d3.csv. The rendering is fitted to the browser window with an SVG output.

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.

Comments

Sign in to join the discussion.

MIT Licensed