Skip to main content
100%

Fork of Vega-Lite API Template

✓ Published0🌍 Public
HHoosierExperienceDesigner
Last edited Jul 28, 2021
Created on Jul 28, 2021

This example presents a scatter plot of auto MPG data, showing displacement on the x-axis and horsepower on the y-axis, with semi-transparent point markers to reveal data density. The visualization is built using the Vega-Lite API, which generates a Vega specification rendered as SVG via D3 v5. Data is loaded from a CSV file fetched from the UCI Machine Learning Repository. The code includes custom styling for axes and tooltips, and uses vega-tooltip for 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