Skip to main content
100%

Vega-Lite API Template

✓ Published0🌍 Public
Bbingsen0806
Last edited Jun 15, 2021
Created on Jun 15, 2021

This visualization displays the Auto MPG dataset, showing the relationship between acceleration, horsepower, origin, and weight for various car models. Using the Vega-Lite API, the code constructs a scatter plot with a custom dark theme and tooltips, rendering through the vega and vega-lite libraries. Data is loaded asynchronously via the d3.csv function, and the visualization is configured to fit the viewport size, emphasizing interactive exploration of the data.

AI-generated description

A visualization constructed using the vega-lite-api.

The data shown here comes from the UCI Machine Learning Repository: Auto MPG Data Set, via Gist: Scatter Plot with Menus.

MIT Licensed

Similar vizzes