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)

c5914ddbb6c84a379bfc5ef808973163

Fork of Vega-Lite API Template

0 stars0🌍 Public
PPetko4
Last edited Aug 1, 2022
Created on Aug 1, 2022

This example shows a scatter plot of automobile data, with circles positioned by vehicle origin on the x-axis and horsepower on the y-axis. Tooltips reveal car names when hovering, using the vega-lite-api to construct the visualization. The code loads data from a CSV via d3.csv, then renders the chart with vega, vega-lite, and vega-tooltip, applying a custom config for styling and fitting the full window size.

AI-generated description

A visualization constructed using the vega-lite-api.