Skip to content

feat(graphic-walker): expose standalone PivotTable API and playground…#508

Open
ObservedObserver wants to merge 5 commits intomainfrom
codex/expose-pivot-table-api
Open

feat(graphic-walker): expose standalone PivotTable API and playground…#508
ObservedObserver wants to merge 5 commits intomainfrom
codex/expose-pivot-table-api

Conversation

@ObservedObserver
Copy link
Copy Markdown
Member

@ObservedObserver ObservedObserver commented Mar 4, 2026

… example


Note

Cursor Bugbot is generating a summary for commit 782ad3d. Configure here.

@vercel
Copy link
Copy Markdown

vercel bot commented Mar 4, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
graphic-walker Ready Ready Preview, Comment Mar 4, 2026 8:37am

Request Review

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 782ad3d0a6

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

<div className={className} style={style}>
<PivotTableImpl
key={pivotTableKey}
data={data}
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Aggregate source data before passing it to PivotTableImpl

The new standalone PivotTable passes data straight through to PivotTableImpl without running the aggregation pipeline (useRenderer/dataQuery) that the existing renderer path uses, so aggName on value fields is not actually applied for base cells. In datasets with multiple rows per row/column key (for example, repeated region + year pairs), buildMetricTableFromNestTree (components/pivotTable/utils.ts, where matched rows are reduced to a single record) will pick one row rather than computing sum/mean, yielding incorrect pivot values unless callers pre-aggregate manually.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant