Skip to content

[data grid] Add data visualization / charts #12021

@oliviertassinari

Description

@oliviertassinari

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.

Image

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:

  1. 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?

  2. 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.

  3. 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

https://www.notion.so/mui-org/mui-x-Data-Grid-Charts-integration-1dfcbfe7b6608035b4e8cfaec65180c1?pvs=4#1eecbfe7b6608084a0d2f08ecfb714b5

Solution

Worked on https://www.notion.so/mui-org/mui-x-Data-Grid-Charts-integration-1dfcbfe7b6608035b4e8cfaec65180c1.

Benchmarks

Context

Search keywords: data grid charts

Metadata

Metadata

Assignees

No one assigned

    Labels

    plan: PremiumImpact at least one Premium user.scope: chartsChanges related to the charts.scope: data gridChanges related to the data grid.type: new featureExpand the scope of the product to solve a new problem.waiting for 👍Waiting for upvotes. Open for community feedback and needs more interest to be worked on.

    Projects

    Status

    Recently completed

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions