Fork of Vega-Lite API Template
✓ Published0🌍 Public
This example visualizes the relationship between miles per gallon, horsepower, and weight across cars from different origins, using the Auto MPG dataset from the UCI Machine Learning Repository. The visualization is built with the Vega-Lite API, which wraps Vega and Vega-Lite specifications in JavaScript. It renders a bar chart with semi-transparent bars colored by origin, sized by weight, and includes tooltips showing car names via `vega-tooltip`. The chart fits the full window size and uses a custom dark theme from an exported config object.
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