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)

b24cc14cabe24132b29d32b3500f5fd9

Fork of Vega-Lite API Template

0 stars0🌍 Public
KKeyvan Rezaei
Last edited May 19, 2021
Created on May 19, 2021

This example, built with the Vega-Lite API wrapper for Vega and Vega-Lite, displays a scatter plot of automobile efficiency data. The visualization encodes engine displacement, horsepower, origin, and weight as position, color, and size for each circular mark. Data comes from the UCI Machine Learning Repository’s Auto MPG dataset, loaded as CSV via d3.csv. The chart uses configured axis styling and a tooltip handler, rendering through Vega’s SVG output.

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.