Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Hello Vega Lite API

Public visualization

Viewing a saved revision (read-only)

752ba0df0d83446784559938c471fe82

Fork of Hello Vega Lite API

0 stars0🌍 Public
AAki78
Last edited Jun 3, 2021
Created on Jun 3, 2021

A scatter plot of US zipcodes rendered on an Albers USA projection, colored by the first two digits of the zip code to reveal regional clustering. Built with the Vega-Lite API and D3, it uses `vl.markCircle`, `vl.project`, and `vl.longitude`/`vl.latitude` encodings, with a custom D3 `hcl` color scale. The visualization is drawn to a HiDPI Canvas with a scale factor of 3 for retina display support, using data from the Vega Datasets collection.

AI-generated description

An example starting point for working with vega-lite-api. Derived from Observable: vega-lite-api.

The data shown is US zipcodes, from Vega Datasets.

Implements HiDPI Canvas.