Skip to main content
100%

Fork of Vega-Lite API Template

✓ Published0🌍 Public
SSaiSree0122
Last edited Jul 3, 2022
Created on Jul 3, 2022

This visualization uses a scatter plot to explore the relationship between the year and electronic sales, with each point colored by item type. The Vega-Lite API constructs a circle mark with a tooltip that reveals the item name on hover. Data is loaded asynchronously via D3’s `csv` function from a Gist-hosted ElectronicSales dataset. The rendering pipeline leverages the Vega and Vega-Lite libraries, with a custom config to adjust font sizes and axis styles, while Vega-Tooltip provides interactive hover details.

AI-generated description

A visualization constructed using the vega-lite-api.

The data shown here comes from the UCI Machine Learning Repository: Auto MPG Data Set, via Gist: Scatter Plot with Menus.

MIT Licensed

Similar vizzes