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

0
YYibo Zhang
Last edited Jan 9, 2022
Created on Jan 9, 2022

This example visualizes automobile performance data, plotting engine displacement against horsepower as a dense scatterplot of semi-transparent points. The visualization uses the Vega-Lite API via `vega-lite-api` and `vl.markPoint`, with a custom dark-themed configuration that removes axis domains and enlarges typography. Data is loaded asynchronously from a CSV using D3’s `csv` function, while tooltips display each car’s name. Rendering is handled through Vega and Vega-Lite, with the chart sized to fit the full browser window.

AI-generated description

A visualization constructed using the vega-lite-api.

Comments

Sign in to join the discussion.

MIT Licensed