Viewing a saved revision (read-only)
248b82423a4e4a7691a3bd00b7461aa9
Fork of Vega-Lite API Template - Ronan
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 descriptionA 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.