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)

025f975300614fc8a98ced1861da6348

Fork of Vega-Lite API Template

0 stars0🌍 Public
RRolf Niggemann
Last edited Mar 11, 2021
Created on Mar 11, 2021

This example demonstrates the relationship between engine displacement and horsepower across various car models, with tooltips revealing the vehicle name for each point. Built with the Vega-Lite API, the visualization defines a scatter plot using `vl.markPoint` and `vl.encode`, applies custom axis styling through the `config` object, and renders via Vega’s SVG view. Data is loaded asynchronously from a CSV file using D3’s `csv` function, while the Vega tooltip handler enables interactive inspection of individual data points.

AI-generated description

A visualization constructed using the vega-lite-api.