Skip to main content
100%

Fork of Vega-Lite API Template

✓ Published0🌍 Public
MMATTE-blz
Last edited Mar 28, 2021
Created on Mar 28, 2021

This interactive scatter plot visualizes the relationship between vehicle weight, year of manufacture, and fuel efficiency (MPG) across different countries of origin, using data from the UCI Auto MPG dataset. The visualization is built with the Vega-Lite API, which compiles specifications to render SVG graphics. The code applies a custom configuration for axis styling and uses Vega Tooltip for interactive hover details. Data loading is handled by the d3.csv function, fetching from a remote Gist URL.

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