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)

6b15dcd821564036908f21edbd0eb5e0

Fork of Vega-Lite API Template

0 stars0🌍 Public
Wweny1109
Last edited Jul 25, 2023
Created on Jul 25, 2023

This example uses a scatter plot to explore the relationships among automobile performance metrics, including engine displacement, horsepower, weight, and origin. The visualization is built with the Vega-Lite API, which programmatically constructs a Vega-Lite specification, and is rendered via Vega. It loads the auto-mpg dataset using D3’s `csv` function, then encodes the data with size and color channels. The chart is configured for full-screen display with custom axis and label styling from a separate config file, and includes a tooltip showing the car name.

AI-generated description

A visualization constructed using the vega-lite-api.