Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatter Plot with Menus

Public visualization

Scatter Plot with Menus

0 stars2🌍 Public
YYee Han
Last edited Dec 22, 2020
Created on Dec 22, 2020

This scatter plot visualizes the relationship between vehicle weight and horsepower, colored by origin and sized by weight, based on the auto-mpg dataset loaded via `d3.csv`. The visualization uses vega-lite-api to construct the specification, with vega-lite and vega handling rendering to SVG. Interactive tooltips display car names using vega-tooltip’s `Handler`, while the `config.js` customizes axis and label styling. The plot fills the window with a fit autosize, and the code registers the tooltip handler during initialization.

AI-generated description

A visualization constructed using the vega-lite-api.

Comments

Sign in to join the discussion.

MIT Licensed