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)

762d56bbca2d412cb44d206d3daa84a6

Fork of Vega-Lite API Template

0 stars0🌍 Public
MMayank Kumar
Last edited Sep 24, 2023
Created on Sep 24, 2023

This example visualizes the relationship between engine displacement and horsepower for a collection of automobiles. It uses a scatter plot of points with a fixed size and low opacity to show data density, with tooltips revealing the car name. The visualization is built using the Vega-Lite API, registering it with Vega and Vega-Lite, and configures axes and label styling through a custom config object. Data is loaded from a remote CSV file via the `d3.csv` method.

AI-generated description

A visualization constructed using the vega-lite-api.