Skip to main content
100%

Fork of Hello Vega Lite API

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

MIT Licensed

Similar vizzes