Skip to main content
100%

Fork of Vega-Lite API Template

✓ Published0🌍 Public
Sstefanpullen
Last edited Dec 16, 2021
Created on Dec 16, 2021

This example shows a scatter plot of automobile data, mapping engine displacement on the x-axis and horsepower on the y-axis, with a tooltip displaying the vehicle name on hover. It uses the vega-lite-api to construct the visualization spec, which is then rendered through Vega-Lite and Vega, with d3.csv loading the data from a remote URL. The chart is configured with custom axis and label styling, and it automatically fits the full browser window.

AI-generated description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes