Interactive map visualization of all US zip code boundaries using vector tiles for fast, efficient rendering.
- 33,791 zip codes across the United States
- PMTiles vector tiles for optimal performance
- Color-coded regions with 10-color palette
- Smooth panning and zooming
- City/town labels remain visible above zip boundaries
# Install dependencies
bun install
# Run development server
bun devOpen http://localhost:3001 to view the map.
The zip code boundaries are sourced from TIGER/Line Shapefiles provided by the US Census Bureau. The GeoJSON data is converted to PMTiles vector tiles for efficient web delivery.
To regenerate tiles from source data:
cd apps/web
# Apply hash-based coloring to GeoJSON
bun run color-us-zips
# Convert to PMTiles (requires tippecanoe)
bun run generate-tiles- Next.js + React
- MapLibre GL JS
- PMTiles
- TypeScript
- TailwindCSS