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)

4ece5e4725424fc8ba791b65897f27f8

Fork of Vega-Lite API Template

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

This visualization displays the relationship between engine displacement and horsepower for a dataset of automobiles, with tooltips revealing model names. It uses the Vega-Lite API to define a scatter plot with a single mark type and encoding, while data is loaded asynchronously from a CSV file via D3’s `csv` function. The chart is rendered with SVG and configured with custom axis and label styling. The code also integrates Vega Tooltip for interactive hover details.

AI-generated description

A visualization constructed using the vega-lite-api.