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)

30fabf6fba5f4860946ea5d78ef595c9

Fork of Vega-Lite API Template

0 stars0🌍 Public
CChristian Rohrer
Last edited Jan 30, 2023
Created on Jan 30, 2023

This example visualizes automobile data by plotting car origins on the x-axis against horsepower on the y-axis, with the vehicle’s name available as a tooltip. Built using the vega-lite-api, it programs a scatter plot with semitransparent circular marks, configured to fit the entire viewport. The code loads an auto-mpg CSV dataset via D3’s `csv` method, registers Vega-Lite with a tooltip handler, and applies custom axis and label styling from a shared config module.

AI-generated description

A visualization constructed using the vega-lite-api.