🌍 Public
Viewing a saved revision (read-only)
00b2339cf8bd4ea19a5e6be49b9bff08
Fork of Vega-Lite API Template
This example displays a bar chart of average fuel efficiency values across several countries, with bars colored on a blue gradient and mouseover interactions that highlight bars in yellow. It uses the Vega-Lite API to generate a scatter plot of auto MPG data from the UCI Machine Learning Repository, encoding horsepower, weight, and origin. The visualization is rendered with D3.js v5, using SVG elements and scales, with animated transitions on mouseout events.
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.