Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Vega-Lite API Template_DL

Public visualization

Viewing a saved revision (read-only)

74be9a8d7c9344d985b008de22abbefe

Fork of Vega-Lite API Template_DL

0 stars0🌍 Public
Nnqu9DL
Last edited Mar 9, 2021
Created on Mar 9, 2021

This visualization shows the relationship between miles per gallon and horsepower for cars from the auto-mpg dataset, with points colored by origin. It uses the Vega-Lite API to construct a circle mark with quantitative scales for both axes, and includes a tooltip displaying car names. The code loads CSV data via d3.csv, applies custom styling through a configuration object, and renders the chart as SVG using Vega, Vega-Lite, and the vega-lite-api library.

AI-generated description

A visualization constructed using the vega-lite-api.