Skip to main content
100%

Fork of Vega-Lite API Template

✓ Published0🌍 Public
TTung Pham
Last edited Mar 17, 2021
Created on Mar 17, 2021

This example shows a scatterplot of automobile data, plotting miles per gallon against horsepower, with tooltips revealing car names. It renders using the Vega-Lite API, which compiles specifications to Vega and renders to SVG. The code loads the auto-mpg dataset via `d3.csv`, configures axis and label styling, and fits the visualization to the window. Custom styling includes removing axis domains and settings for guide labels and titles.

AI-generated description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes