Skip to main content
100%

Supergroup Examples

✓ Published0🌍 Public
SSigfried
Last edited Mar 19, 2015
Created on Mar 16, 2015

This example demonstrates the Supergroup library for hierarchical grouping of tabular data, using patient visit records from a CSV file. It shows how supergroup compares with d3.nest’s `entries()` and `map()` methods, outputting JavaScript object structures and result summaries. The code parses the CSV with `d3.csv.parse`, applies nested groupings by physician and unit, and displays outputs like `namePath()`, `leafNodes()`, and flattened trees. Underscore.js’s `invoke` method is used for batch operations on leaf nodes.

AI-generated description

Similar vizzes