Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Fork of Vega-Lite API Template

Public visualization

Fork of Vega-Lite API Template

0 stars0๐ŸŒ 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.

Comments

Sign in to join the discussion.

MIT Licensed