Skip to main content
100%

PivotGraph (Rollup) Layout

✓ Published0🌍 Public
Mmbostock
Last edited Feb 9, 2016
Created on Dec 20, 2012

This example demonstrates the PivotGraph rollup layout, which collapses a small social network into aggregate nodes positioned along two categorical axes: gender and group. The visualization shows grouped circles scaled by their node counts, while curved links between them represent aggregated connections with stroke widths proportional to link value. The code uses d3.rollup with ordinal scales to map categories to x and y positions, and d3.svg.axis to display the axes. Rendering occurs in SVG with the data loaded from social.json.

AI-generated description

The d3.rollup plugin implements the “PivotGraph” technique for collapsing large graphs along categorical dimensions, as described by Martin Wattenberg in Visual Exploration of Multivariate Graphs.

gpl-3.0 Licensed

Similar vizzes