fresh block
✓ Published0🌍 Public
Aapolan
Last edited Oct 31, 2016
Created on Oct 31, 2016
A treemap visualizes the assets of two political parties, A and B, with each party subdivided into individual members and their holdings across ground, building, and cash categories. A dropdown menu switches the treemap’s value metric between total, building, ground, and cash, using `d3.layout.treemap` with a sticky layout. Clicking a cell zooms into that branch with a smooth `transition`, and option-clicking returns to the root. The hierarchy comes from a JSON file, and the cells are colored by parent party using `d3.scale.category20c`.
AI-generated descriptionBuilt with blockbuilder.org
mit Licensed