Zipdecode
✓ Published0🌍 Public
Mmbostock
Last edited Feb 9, 2016
Created on Mar 17, 2013
Zipdecode displays all U.S. ZIP code locations as a dot map, highlighting those that match the prefix typed into an input field. It uses an AlbersUSA projection to plot each ZIP code’s latitude and longitude from a TSV dataset. As the user enters digits, the map cross-fades between canvases, drawing inactive dots in gray and active matches in red. The implementation uses d3.geo.albersUsa, d3.tsv, d3.select, and canvas transitions, animating opacity over 350 milliseconds before removing old layers.
AI-generated descriptionAnother (minimalist) take on Ben Fry’s zipdecode, inspired by Nelson Minar’s reimplementation. This one uses cross-fading canvas elements to render transitions efficiently.
gpl-3.0 Licensed