Skip to main content
100%

Mini State Grid

✓ Published0🌍 Public
SSpaceActuary
Last edited Dec 15, 2015
Created on Dec 15, 2015

A compact tile grid maps the 50 U.S. states into an ASCII-art layout, with eight states highlighted in maroon to indicate a preselected subset. Hovering over any tile reveals its postal abbreviation via a tooltip. The code embeds state coordinates directly as text, then parses them to position square SVG rectangles using D3’s data join. It uses `d3-tip` for mouseover interactions, with hardcoded `selectedStates` and no external data file.

AI-generated description

A 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.

forked from <a href='http://bl.ocks.org/SpaceActuary/'>SpaceActuary</a>'s block: <a href='http://bl.ocks.org/SpaceActuary/8da9fcf564d2f741898c'>State Grid</a>

Similar vizzes