Fork of Vega-Lite API Template
✓ Published0🌍 Public
This visualization presents a scatter plot of auto-mpg data, showing the relationship between fuel efficiency and horsepower. Each point represents a car, with its origin encoded by color and weight by size. The tooltip displays the car's name and displacement. The example uses the Vega-Lite API to construct the visualization, which is then rendered by Vega with a custom configuration for improved readability. Data is loaded from a CSV file using d3.csv, and the plot fills the browser window with a responsive layout.
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