Fork of Vega-Lite API Template
✓ Published0🌍 Public
This gallery example shows a scatter plot of auto-mpg data, with horsepower on the y-axis and year on the x-axis. Each circle’s size encodes vehicle weight, while its color represents the country of origin, and hovering reveals the car’s name. Built with the Vega-Lite API, it loads CSV data via d3.csv and renders the visualization using Vega and Vega-Lite, with a customized config and tooltip handler.
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.
MIT Licensed