Skip to main content
100%

Fork of Fork of Vega-Lite API Template

✓ Published0🌍 Public
DDavid Oh
Last edited Feb 16, 2022
Created on Feb 16, 2022

This visualization presents a scatter plot of automobile data from the UCI Machine Learning Repository’s Auto MPG dataset. It positions horsepower on the y-axis and miles per gallon on the x-axis, with points colored by origin and sized by weight, while tooltips reveal vehicle names. Built with the Vega-Lite API, it uses d3.csv for data loading and renders via a Vega view with SVG output. The visualization adapts to the full window size, and custom axis styling is applied through a separate config file.

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.

MIT Licensed

Similar vizzes