Fork of Vega-Lite API Template
✓ Published0🌍 Public
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 descriptionA 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