FC Monogram Crest
Francesco Castaldi
I. PROJECT MONOGRAPH • SELECTED WORKSFOLIO ID: superset-plugin-chart-hierarchical-table

Apache Superset 6.1.0 — Hierarchical Table & Matrix Grid Plugin

Production-grade visualization plugin for Apache Superset 6.1.0 built with React, TypeScript, and Ant Design v5, accompanied by a companion Python backend calculation engine. Engineered to solve enterprise hierarchical reporting challenges, supporting dynamic multi-dimension tree grouping, parent-child recursion via SQL CTEs, in-tree path-preserving search, sticky headers/columns, roll-up subtotals, and bidirectional dashboard cross-filtering (setDataMask).

TypeScriptReactApache SupersetAnt DesignPythonCross-FilterSQL
Apache Superset Hierarchical Table Plugin
FIGURE: Apache Superset Hierarchical Table Plugin

Enterprise BI & Hierarchical Data Complexity

Standard visualization matrices in Business Intelligence tools struggle when displaying uneven organizational hierarchies, financial statements (P&L balance sheets), and multi-tier categorical rollups.

IMPORTANT NOTICE
The Hierarchical Table & Matrix Grid Plugin was architected specifically for Apache Superset 6.1.0 to bridge the gap between flexible dimensional aggregation and high-density financial matrix grids.

Monorepo Architecture & Capability Matrix

The plugin monorepo integrates a high-performance React tree grid with companion Python aggregation engines:

Feature / DimensionNative Superset Pivot TableHierarchical Table Plugin (v6.1.0)Enterprise Value
Hierarchy DepthFixed column pivotingUnlimited dynamic depth / recursionSupports uneven corporate structures
Intermediate SubtotalsTop or bottom onlyInline collapsible subtotal rowsTrue financial P&L layout
Cross-Filter EngineRow click single dimensionMulti-level node setDataMaskSynchronizes sibling charts instantly
In-Tree SearchNot supportedReal-time path-preserving filterInstant search in 10,000+ rows

*Table 1: Native Pivot Table vs Hierarchical Table Plugin*

// Dynamic tree aggregation and cross-filter emission in TypeScript
import { HierarchicalTableChartPlugin } from 'superset-plugin-chart-hierarchical-table';

export function emitTreeCrossFilter(nodeId: string, dimensionKey: string, setDataMask: (mask: any) => void) { setDataMask({ extraFormData: { filters: [ { col: dimensionKey, op: 'IN', val: [nodeId], }, ], }, filterState: { value: [nodeId] }, }); } `

Key Architectural Capabilities

  • Hierarchy Modes: Toggle between *Multi-Dimension Grouping* (Country > Region > Store) and *Parent-Child Adjacency* (node_id / parent_id).
  • Interactive In-Tree Search: Real-time filtering preserving root-to-leaf branch lineage with search term highlight.
  • Rollup & Aggregations: Automatic computation of intermediate subtotal rows and top-level Grand Total summary.
  • Sticky Freeze Panes: Independent vertical lock for column headers and horizontal lock for hierarchical dimension columns.

Related Disciplines & Competencies

Full-Stack & WebGL DevelopmentData Science & AnalyticsCloud Native, Kubernetes & DevOps
Examine Upstream RepositoryConsult Live Demonstration
Return to Selected Works