Skip to main content
100%

Fork of Vega-Lite API Template

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

MIT Licensed

Similar vizzes