Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Vega-Lite API Template

Public visualization

Viewing a saved revision (read-only)

56ad4a7a05b340bfae26a69b4e2ea548

Vega-Lite API Template

0 stars0🌍 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.