Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Vega-Lite API Template

Public visualization

Viewing a saved revision (read-only)

2dc2d29f911c44aa9cba5f2a187778ec

Fork of Vega-Lite API Template

0 stars0🌍 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.