Skip to main content
100%

Vega-Lite API Template

✓ Published0🌍 Public
Kkalmdown
Last edited Jul 19, 2021
Created on Jul 19, 2021

This visualization displays a scatter plot of automobile data, plotting acceleration against horsepower for each vehicle model. Built with the Vega-Lite API, it uses `vl.markPoint()` with encoded x and y fields, while tooltips reveal the car name. The code registers Vega-Lite with Vega, loads data via `d3.csv()` from an external URL, and applies a custom configuration for axis styling and typography. The visualization renders responsively to fill the window using SVG output.

AI-generated description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes