Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Zip Code Trails

Public visualization

Viewing a saved revision (read-only)

2b1f31e4f2654feb9ca47654a2901215

Fork of Zip Code Trails

0 stars0🌍 Public
CCristina Macaraig
Last edited Jul 17, 2021
Created on Jul 17, 2021
Forked from Zip Code Trails

This example renders 960 by 500 pixel U.S. zip code trails as thin colored lines. It uses the `albersUsa` projection to display the geographic data derived from the `zipcodes.csv` dataset. The code employs the `vega-lite-api` to construct a line mark, with `d3` providing a hue-based color scale for the first three digits of each zip code, and a filter removes non-continental states. A fixed color mapping with nine hues visualizes regional groupings across the map.

AI-generated description

An experiment with vega-lite-api.

Inspired by Observable: Cartographic Visualization.