Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Vega-Lite API Template

Public visualization

Viewing a saved revision (read-only)

ff3d960e96c94c1cbcf9b463290b2033

Fork of Fork of Vega-Lite API Template

0 stars0🌍 Public
AAmnaRizvi-S
Last edited Jul 18, 2022
Created on Jul 18, 2022

This visualization plots automobile acceleration against horsepower, colored by country of origin, with tooltips revealing model names. The scatterplot uses data from the UCI Auto MPG dataset, loaded via `d3.csv`. Built with the Vega-Lite API, it composes a circle mark with quantitative x and y encodings and a nominal color encoding, rendered as SVG. The code customizes axis and label styling through a Vega-Lite config object to improve readability.

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.