Skip to main content
100%

Fork of Vega-Lite API Template

✓ Published0🌍 Public
Pparshwa30122002@gmail.com
Last edited Aug 14, 2024
Created on Aug 14, 2024

This example displays a scatter plot of automobile data, showing the relationship between engine displacement and horsepower. Each circle represents a car model, with a tooltip revealing the vehicle’s name on hover. The visualization is built using the Vega-Lite API, with data loaded from a CSV via `d3.csv`. The code registers Vega and Vega-Lite, configures axis styles for readability, and renders the plot to fill the browser window using `vl.markCircle` and `vl.x().fieldQ`.

AI-generated description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes