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)

1661371dd3044884b22c05f0928c2815

Fork of Vega-Lite API Template

0 stars0🌍 Public
Aalfredwang0707
Last edited May 8, 2021
Created on May 8, 2021

This example visualizes the relationship between engine displacement and horsepower across a dataset of automobiles from the auto-mpg CSV file. Each point represents a car, with opacity and size encoding density, and tooltips reveal the vehicle name. The visualization uses the Vega-Lite API to construct the scatter plot, built on Vega and Vega-Lite, with D3.js handling CSV loading. The rendering uses configurable axis styling and a dark color scheme for improved readability.

AI-generated description

A visualization constructed using the vega-lite-api.