Fork of Vega-Lite API Template
✓ Published0🌍 Public
This fork of the Vega-Lite API template visualizes the Auto MPG dataset, plotting miles per gallon against horsepower with color encoding by origin and size by vehicle weight. Tooltips reveal car names on hover. The code constructs the visualization declaratively using the Vega-Lite API, with D3.js fetching the CSV data and VEGA, Vega-Lite, and Vega-Tooltip libraries handling rendering and interactivity.
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