Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Vega-Lite API Template

Public visualization

Vega-Lite API Template

0 stars0🌍 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.

Comments

Sign in to join the discussion.

MIT Licensed