Skip to main content
Public

Share visualization

Loading preview…

Fork of Vega-Lite API Template

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Fork of Vega-Lite API Template

1
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