-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Description
Summary
This issue is a continuation of #214, pivots are meant to aggregate data on the fly; it's a low-code SQL query writer.
With this released, we can expect people to want chart integration. The general trend is well explained in https://www.producthunt.com/products/metabase#metabase-embedded-analytics:
Once users get a taste of insights, their expectations escalate fast.

Adding charts on top of it could make for the most logical next step. Turning the data grid into a mini Superset, Metabase, Excel, PowerBI: defined as "other tools".
Motivation
Once you filter, group, pivot, the data to reach the point that you like, you are likely to start to want to plot the data. To do such, you need to:
- export the data to excel or CSV
- open an "other tools"
- find the file
- import the data
- create the chart
The problems with this:
-
This takes a couple of steps. Steps that could be saved if the UI allowed plotting to plot the chart directly Now, this can only be solved to a level; advanced plotting will always require another tool, but how frequent is this need? 10% of the time?
-
Once you plot the data, you are likely to realize that you forgot a column, that you want to drill down in another direction, etc. So you go back to the grid, re-export the data, and replot again. This back and forth is painful.
-
Does your end-user even have a plotting tool? I have tried with ChatGPT and DeepSeek, they fail at it. Excel and Google Sheets seem to be the most likely tools used.
As for using "other tools", this is not an option for end-users because it is usually impossible to embed. For internal tool users, it can be a challenge to manage permissions, so it's not always the right solution.
User requests
Solution
Worked on https://www.notion.so/mui-org/mui-x-Data-Grid-Charts-integration-1dfcbfe7b6608035b4e8cfaec65180c1.
Benchmarks
- Public: https://mui-org.notion.site/mui-x-Data-Grid-Pivot-1e4cbfe7b660806dbe71fa96c8a0295e
- Editable: https://www.notion.so/mui-org/mui-x-Data-Grid-Pivot-1e4cbfe7b660806dbe71fa96c8a0295e
Context
- This feature is needed to fully take advantage of [ai-assistant] Improve Data Grid #17292. This flow isn't optimal: https://www.zdnet.com/article/how-to-use-chatgpt-to-make-charts-and-tables-with-advanced-data-analysis/. But this https://x.com/openbb_finance/status/1866966784747684309 is more coherent.
- The problem on the opposite side: [charts] Drill down in series with data grid #16286
Search keywords: data grid charts
Metadata
Metadata
Assignees
Labels
Projects
Status