Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Vega-Lite API Template

Public visualization

Viewing a saved revision (read-only)

940d674a17a64fa7bca486ff3ef4eb02

Vega-Lite API Template

0 stars0🌍 Public
AALI Akbar SABZI
Last edited May 7, 2021
Created on May 7, 2021

This example demonstrates a scatterplot visualization of automobile data, plotting weight against horsepower for various car models. Each point is colored by country of origin and sized by miles per gallon. The visualization is built using the Vega-Lite API, a programmatic interface to Vega-Lite, which leverages the Vega rendering engine. The code imports data from a CSV file, configures axis styles and tooltips, and uses the vega-tooltip library to display car names on hover.

AI-generated description

A visualization constructed using the vega-lite-api.