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)

9abd40336c76411b8782e3ec1b5eea20

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.