Fork of Vega-Lite API Template
✓ Published0🌍 Public
This example visualizes the relationship between miles per gallon, horsepower, weight, and origin for automobiles from the UCI Machine Learning Repository Auto MPG dataset. It uses the Vega-Lite API to construct a scatter plot with circles, encoding mpg and horsepower as x and y axes, origin as color, and weight as size, with tooltips showing car names. The visualization is rendered in SVG via D3.js (d3.csv) and Vega-Lite, with a customized dark theme config and automatic sizing to fit the viewport.
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