Skip to main content
100%

Fork of Vega-Lite API Template

✓ Published1🌍 Public
TTanupat B.
Last edited Mar 19, 2022
Created on Mar 18, 2022

This scatter plot uses the Auto MPG dataset from the UCI Machine Learning Repository to visualize relationships among vehicle attributes. Each circle represents a car, positioned by weight and horsepower, colored by country of origin, and sized by miles per gallon. The visualization is built with the Vega-Lite API, which generates the chart specification, while D3.js fetches the CSV data and renders the SVG output. Interactive tooltips display car names when hovering.

AI-generated description

A 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

Similar vizzes