Skip to main content
Public

Share visualization

Loading preview…

My 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

My Vega-Lite API Template

1
Vvmonney
Last edited Sep 27, 2022
Created on Sep 27, 2022

This interactive scatter plot visualizes the relationship between miles per gallon, horsepower, weight, and origin for a set of automobiles loaded asynchronously from a CSV via D3’s `csv` function. Rendered with the Vega-Lite API, the chart encodes continuous fields on x- and y-axes, categorical origin on color, and weight on point size, with tooltips revealing car names. The visualization adapts to the window size and uses a custom dark theme defined in a shared config object, with D3 version 5 and Vega-Lite v4.0.0-beta.1.

AI-generated description

A visualization constructed using the vega-lite-api.

Comments

Sign in to join the discussion.

MIT Licensed