Fork of Vega-Lite API Template
✓ Published1🌍 Public
This example demonstrates an interactive scatter plot of the Auto MPG dataset from the UCI Machine Learning Repository, visualizing the relationship between mpg, horsepower, origin, and weight. The visualization uses the Vega-Lite API to construct the chart, with d3.csv for data loading and a custom dark-themed configuration for improved readability. The marks are rendered as semi-transparent circles with size encoding weight, color encoding origin, and tooltips displaying car names, all fitted to the full 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