Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Vega-Lite API Template

Public visualization

Fork of Vega-Lite API Template

0 stars1🌍 Public
Kkatebacon32
Last edited Apr 1, 2021
Created on Mar 31, 2021

This scatter plot visualizes the relationship between vehicle weight, horsepower, and miles per gallon using the auto-mpg dataset. Semicircle marks represent individual car models, with color encoding weight and size encoding fuel efficiency, while tooltips display model names. Built with the Vega-Lite API, it registers Vega, Vega-Lite, and Vega-Tooltip to render an interactive SVG visualization. The chart loads CSV data through d3.csv, applies custom axis and label styling from a configuration object, and automatically fits to the browser window dimensions.

AI-generated description

A visualization constructed using the vega-lite-api. Scatter Plots

Comments

Sign in to join the discussion.

MIT Licensed