Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Vizhub3

Public visualization

Viewing a saved revision (read-only)

17c2b210051a446b999ce6ec65a755d8

Vizhub3

0 stars0🌍 Public
AAbhinay-Mannepalli
Last edited Feb 24, 2023
Created on Feb 24, 2023

This visualization presents the Auto MPG dataset from the UCI Machine Learning Repository as an interactive scatter plot, mapping miles per gallon against horsepower. Each circle represents a car model, with color encoding the country of origin, size encoding weight, and tooltips revealing the model name. The code uses the Vega-Lite API (via the `vega-lite-api` wrapper) to define the chart declaratively, with D3.js handling CSV data loading. Custom configurations adjust axis styling and typography for readability, and the visualization auto-fits to the browser window dimensions.

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.