State Grid of Dogs
This visualization shows a tessellated grid of U.S. state abbreviations, with nine states highlighted in purple to represent a hypothetical dog-related dataset. The states are arranged in a stylized map-like layout, each rendered as an irregular organic blob created from a closed path built with `d3.line()` and `d3.curveBasis`. The code parses a plain-text grid to position each state, applies `d3.v4` selections for rendering, and adds small circles as decorative markers. The design is inspired by an Allison McCann graphic, adapting a state grid into a context-rich tessellation example.
AI-generated descriptionWhile I was playing with tessellation, I was asking myself: How the hell can tessellation be used in data viz?
This block (forked from <a href='http://bl.ocks.org/mbostock/'>mbostock</a>'s block: <a href='http://bl.ocks.org/mbostock/29cc3cc4078091fd2115'>State Grid</a>, itself inspired by an Allison McCann graphic) is my first attempt to respond to my question: it adds some kind of context to the vizualisation.
This map would greatly suit a viz dealing with dogs in US. Unfortunately, I didn't find any data set yet. Purple states are thoose starting with an 'M', plus the 'FL' state because these are my initials ;-)
Acknowledgments to:
- <a href='https://d3js.org/'>D3.js</a> (v.4)
- <a href='http://blockbuilder.org'>blockbuilder.org</a>