Skip to main content
100%

Fork of Vega-Lite API Template

✓ Published0🌍 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.

MIT Licensed

Similar vizzes