Skip to main content
100%

Vega-Lite API Template

✓ Published1🌍 Public
Nnkohdatavis
Last edited Jul 24, 2020
Created on Jul 24, 2020

This visualization displays the relationship between a car's origin and its horsepower using a circle scatter plot. It is built with the Vega-Lite API, which constructs a declarative specification that is rendered to SVG. The visualization fetches auto-mpg data from a CSV file using d3.csv, defines circle marks with custom opacity and size, and maps origin to the x-axis and horsepower to the y-axis. The API registers with Vega-Lite and Vega, and includes an interactive tooltip displaying the car's name.

AI-generated description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes