Skip to main content
100%

Fork of Vega-Lite API Template

✓ Published0🌍 Public
CCarloWK1202
Last edited Dec 23, 2022
Created on Dec 23, 2022

This fork of the Vega-Lite API template visualizes the Auto MPG dataset from the UCI Machine Learning Repository, plotting fuel efficiency against horsepower. Each circle encodes vehicle origin by color, weight by size, and shows the model name on tooltip hover. The visualization uses the vega-lite-api library to construct the specification, with vega and vega-lite handling rendering to SVG. A custom config enhances readability with larger fonts and axis styling, while data loading relies on d3.csv from d3.v5.

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