Skip to main content
100%

Fork of Vega-Lite API Template

✓ Published1🌍 Public
AArookie-2020
Last edited Jul 17, 2021
Created on Jul 17, 2021

This fork of the Vega-Lite API Template presents an interactive scatter plot of the Auto MPG dataset from the UCI Machine Learning Repository, sourced via a GitHub Gist. The visualization shows vehicle fuel efficiency (mpg) against horsepower, with color encoding by country of origin and point size encoding weight, plus tooltips displaying car names. Built with the Vega-Lite API (vl), it registers Vega and Vega-Lite for rendering, uses d3.csv to load data, and applies custom axis and label styling from a config file. The chart auto-fits to the browser viewport with an SVG renderer and integrates vega-tooltip for hover interactions.

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