Skip to main content
100%

Fork of Vega-Lite API Template

✓ Published0🌍 Public
Aaniosindustries
Last edited Nov 29, 2021
Created on Nov 29, 2021

This example visualizes the relationship between engine displacement and horsepower for a dataset of automobiles, with each point representing a car model. The plot uses a scatterplot with tooltips displaying the car name, rendered as a full-screen SVG. Built using the Vega-Lite API, the code leverages `vega`, `vega-lite`, and `vega-lite-api` libraries while fetching data from a CSV via `d3.csv`. The visualization is configured with custom axis styling and an interactive tooltip handler for enhanced readability.

AI-generated description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes