Fork of Vega-Lite API Template
✓ Published0🌍 Public
This fork of a Vega-Lite API template displays a scatter plot of auto-mpg data, with each circle’s position mapping miles per gallon against horsepower, while color encodes origin and size encodes weight. Tooltips revealing the vehicle name appear on hover. The visualization is built using the vega-lite-api library, which registers vega and vega-lite, and pulls data from a CSV loaded via d3.csv from the UCI Auto MPG dataset. The chart is fitted to the viewport using the autosize setting and customized with a custom config for axis styling.
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