Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Vega-Lite API Template

Public visualization

Viewing a saved revision (read-only)

a3bcbb71cd424994a7d7325a149f0f0a

Fork of Vega-Lite API Template

0 stars0🌍 Public
Ssachin rai
Last edited Dec 18, 2023
Created on Dec 18, 2023

This fork of the Vega-Lite API template visualizes the Auto MPG dataset, plotting miles per gallon against horsepower with color encoding by origin and size by vehicle weight. Tooltips reveal car names on hover. The code constructs the visualization declaratively using the Vega-Lite API, with D3.js fetching the CSV data and VEGA, Vega-Lite, and Vega-Tooltip libraries handling rendering and interactivity.

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.