Skip to main content
100%

Fork of Vega-Lite API Template

✓ Published0🌍 Public
HHowardHan99
Last edited Jan 5, 2022
Created on Jan 5, 2022

This example visualizes automobile performance data (horsepower versus displacement) as a scatterplot, with each point representing a car model. The visualization uses the Vega-Lite API to declaratively define the plot, while D3’s csv function loads the Auto MPG dataset from a remote URL. Vega and Vega-Lite handle rendering to SVG, and the vega-tooltip library provides interactive hover details. The code configures axes, point size, opacity, and tooltips, with the chart sized to fit the browser window.

AI-generated description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes