Zip Codes
✓ Published0🌍 Public
This visualization plots every U.S. ZIP code as a small square on an Albers USA projection, with each point colored by the first digit of its ZIP code. It uses the `vega-lite-api` to construct a layered specification, leveraging `vl.markSquare`, `vl.longitude`, and `vl.latitude` encodings. The data is loaded via `d3.csv` from a GitHub gist, and rendering is handled by Vega-Lite with the `geo-albers-usa-territories` projection. The map fills the browser window and includes a tooltip showing the full ZIP code.
AI-generated descriptionA visualization constructed using the vega-lite-api
Inspiration: (https://observablehq.com/@vega/vega-lite-api)
MIT Licensed