Filtering the Grid
✓ Published0🌍 Public
TThanaporn-sk
Last edited Mar 10, 2017
Created on Mar 10, 2017
This example demonstrates a grid layout where 64 colored and shaped items can be filtered by color or shape using interactive buttons. Items smoothly animate between grid positions as filters are applied, shrinking to nothing when removed and growing back when reintroduced. The implementation uses d3.layout.grid for positioning, d3.comparator for multi-key sorting, and d3.svg.symbol for rendering shapes. Data is randomly generated, and transitions are handled with D3's `.transition()` method with staggered delays.
AI-generated descriptionFiltering items in a grid layout.
forked from <a href='http://bl.ocks.org/herrstucki/'>herrstucki</a>'s block: <a href='http://bl.ocks.org/herrstucki/5710596'>Filtering the Grid</a>
mit Licensed