Skip to main content
100%

Fork of Vega-Lite API Template

✓ Published0🌍 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.

MIT Licensed

Similar vizzes