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)

50ccc0c7adcb4ee69287637f01aa07ba

Fork of Vega-Lite API Template

0 stars0🌍 Public
JJaswitha09
Last edited Nov 28, 2021
Created on Nov 28, 2021

This visualization uses a scatter plot to explore the relationship between engine displacement and horsepower in a dataset of automobiles, with tooltips revealing the model name of each point. Built with the Vega-Lite API and Vega-Lite 4.0, it renders points as semi-transparent circles with a custom dark theme and large axis labels. The code loads data from a CSV file via D3’s `csv` method, configures the chart through Vega-Lite’s JavaScript API, and uses Vega Tooltip for interactive hover details.

AI-generated description

A visualization constructed using the vega-lite-api.