Fork of Hello Vega Lite API
✓ Published0🌍 Public
This visualization displays US zip codes as a scatter plot using an Albers USA projection, with each point colored by the first two digits of the zip code via a custom hue scale. The example leverages the vega-lite-api to construct a Vega-Lite specification programmatically, then renders it to a HiDPI canvas using Vega and Vega-Lite. Data comes from the Vega Datasets repository, and the rendering applies a scale factor for sharp retina display.
AI-generated descriptionAn 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.
MIT Licensed