Skip to main content
100%

Iterating with Vega-Lite API

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

MIT Licensed

Similar vizzes