Skip to main content
100%

Fork of Vega-Lite API Template

✓ Published0🌍 Public
Xxhd2015
Last edited Sep 18, 2023
Created on Sep 18, 2023

This fork of the Vega-Lite API template displays a scatter plot of automobile data from the UCI Auto MPG dataset, obtained via a Gist-hosted CSV. The visualization encodes miles per gallon and horsepower on the x and y axes, while the car's origin determines the color and its weight scales the circle size. Built with the Vega-Lite API registered to D3 and Vega, the chart uses the provided `viz.js` specification, applies custom styling from `config.js`, and renders to an SVG canvas sized to the window.

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