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)

7c04af1085134a58a8ed16c2fd006eb5

Fork of Vega-Lite API Template

0 stars0🌍 Public
Ccaptind
Last edited Feb 22, 2023
Created on Feb 22, 2023

This example displays a scatter plot of automobile data from an auto-mpg CSV, showing the relationship between engine displacement and horsepower. The visualization is built using the Vega-Lite API, which composes specifications and renders them through Vega-Lite while leveraging D3’s `csv` loader to fetch and parse the data. Points are rendered as semi-transparent filled circles with tooltips that reveal vehicle names. The plot uses a custom config and a fit-to-window layout, with axis styling adjusted for readability.

AI-generated description

A visualization constructed using the vega-lite-api.