Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Iterating with Vega-Lite API

Public visualization

Viewing a saved revision (read-only)

d08b9347a5ca4dbba1ea75c112964bf2

Iterating with Vega-Lite API

0 stars0🌍 Public
Aavcwisesa
Last edited Mar 21, 2021
Created on Mar 19, 2021

This example shows the number of airports per U.S. state, rendered as bars positioned on an Albers USA map projection. Built with the Vega-Lite API, it registers Vega and Vega-Lite, then uses a bar mark with a count transform and a projection to create the spatial layout. The visualization reads airport data from the vega-datasets package, applies custom styling from a config file, and renders to canvas with tooltips enabled.

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.