State Grid
✓ Published0🌍 Public
Mmbostock
Last edited Feb 9, 2016
Created on Apr 21, 2015
This example arranges US state abbreviations into a compact ASCII-art grid, with eight states highlighted in a contrasting color. It shows a static map-like layout where each state is a labeled square, and the selected states are visually emphasized. The visualization is implemented with D3 v3, parsing the embedded ASCII grid from a script tag to position SVG rectangles and text elements. State data is hardcoded in the HTML, and d3 selections are used to append and style each grid cell.
AI-generated descriptionA state grid inspired by an Allison McCann graphic on state taxes. (See also David Mimno’s implementation.)
Mainly, this was an excuse to embed data as ASCII art.
gpl-3.0 Licensed