Skip to main content
100%

Fork of Vega-Lite API Template

✓ Published0🌍 Public
Wweny1109
Last edited Jul 25, 2023
Created on Jul 25, 2023

This example uses a scatter plot to explore the relationships among automobile performance metrics, including engine displacement, horsepower, weight, and origin. The visualization is built with the Vega-Lite API, which programmatically constructs a Vega-Lite specification, and is rendered via Vega. It loads the auto-mpg dataset using D3’s `csv` function, then encodes the data with size and color channels. The chart is configured for full-screen display with custom axis and label styling from a separate config file, and includes a tooltip showing the car name.

AI-generated description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes