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)

96923f54d7b140a9b54be4bc69579637

Fork of Vega-Lite API Template

0 stars1🌍 Public
LLei Lei
Last edited Jan 30, 2022
Created on Jan 30, 2022

This visualization uses the Vega-Lite API to plot automotive data from the auto-mpg.csv dataset, showing car origin along the x-axis, horsepower on the y-axis, and encoding weight through color and mpg through point size. The chart renders as an SVG using vega, vega-lite, and vega-lite-api, with d3.csv loading the data and vega-tooltip providing interactive hover details that reveal each car’s name. A custom config adjusts font sizes and axis colors for readability.

AI-generated description

A visualization constructed using the vega-lite-api.