Skip to main content
100%

Fork of Vega-Lite API Template - Ronan

✓ Published0🌍 Public
RRonanFonseca
Last edited Aug 18, 2022
Created on Aug 18, 2022

This visualization displays Auto MPG data from the UCI Machine Learning Repository, plotting each car's miles per gallon against its horsepower. Points are colored by origin and sized by vehicle weight, with tooltips revealing car names. The chart is built using the Vega-Lite API atop Vega and Vega-Lite, with D3’s `csv` function loading the external dataset. Custom configuration adjusts axis and label styling, while the view autosizes to the window, using SVG rendering and a Vega Tooltip handler for interactions.

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