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)

5efde9569a0943608b89a45dd0e4af76

Fork of Vega-Lite API Template

0 stars0🌍 Public
Eelia-dot
Last edited Oct 5, 2021
Created on Oct 5, 2021

This example shows a scatter plot of automobile data, with acceleration on the horizontal axis and horsepower on the vertical axis. Each point represents a car model, and hovering reveals the car’s name via a tooltip. The visualization is built programmatically using the vega-lite-api library, which generates a Vega-Lite specification that Vega renders to SVG. Data is loaded from a CSV file via d3.csv, and the chart auto-fits the browser window. Axis styling is customized with a dark theme for improved readability.

AI-generated description

A visualization constructed using the vega-lite-api.