Chart Repeat Option #25319
Replies: 8 comments 2 replies
-
I'm interested in this topic, as well which I will call "multiple charts per dimension(s) instead of being shown on the same chart" What I think could make sense is something like an echarts grid https://echarts.apache.org/en/option.html#grid where the top level dimension cardinality would determine the number of grid cells and each cell in the echarts grid would be the line/bar/scatter chart for the top level dimension. Individual graphs would include all the the remaining dimensions. |
Beta Was this translation helpful? Give feedback.
-
I'm going to try to read through the process of creating a new chart type. It seems it shouldn't be too terribly difficult to somehow add an additional field in the "edit chart" view that essentially duplicates the chart, once for each unique value in a provided column, filtered by that value. If anyone has any tips on what you think the most efficient way to do this would be, I'm all ears. |
Beta Was this translation helpful? Give feedback.
-
Another type of "chart repeat" that would be very useful is the "all-against-all matrix of scatter plots" to visualize correlations between metrics: |
Beta Was this translation helpful? Give feedback.
-
Is it currently possible to have this "repeat" functionality work of a dashboard too? Let's say you have a series of products where you want to show a card with a (1) bar chart across the bottom with monthly sales volumes YTD, (2) top left, the YoY sale amounts as big text value and an arrow (fa-icon) facing up / down, and (3) top right, a ring gauge with % sales to target. They card layout should iteration through each product and display the same layout on a dashboard, where I would select the grid layout ( how many rows/columns are needed). |
Beta Was this translation helpful? Give feedback.
-
Just came here to add the words "facet" and "faceting" that might help people find this issue. |
Beta Was this translation helpful? Give feedback.
-
Here is a related GitHub issue (since closed): #9645 |
Beta Was this translation helpful? Give feedback.
-
This is an example of how we can do faceting using multiple grid options in eCharts: https://echarts.apache.org/examples/en/editor.html?c=scatter-anscombe-quartet. Are there any visualizations already in Superset that are closest to supporting this approach? |
Beta Was this translation helpful? Give feedback.
-
Adding posts and comments from #9645 to make them easily accessible here: from @jeremyhiggs: When comparing different values within a dimension (e.g. shop), one currently has to copy charts and set different values in the filter. This is cumbersome, and requires manual configuration when new values are added to that dimension. Describe the solution you'd like For this, one would select a particular column as the facet. If there are 6 values in that column/dimension, 6 different graphs would be generated as a group. Describe alternatives you've considered When you add a new value (e.g. add a new shop, district, etc), another chart has to be created. from @benceorlai: https://echarts.apache.org/en/option.html#grid |
Beta Was this translation helpful? Give feedback.
-
Something we are bumping up against is the lack of chart repeat options.
By "repeat options" I mean specifying a dimension that results in the chart being repeated for each of the values found in that dimension. Each of those repeated charts is simply filtered by a single value of the dimension. This would allow you to quickly see, e.g. count over time by product and then how that looks for each region. If you had 5 regions, then you would have 5 charts, each showing the count over time by product in each of those regions. Then you could easily swap out region for "customer age group" to see a different view of things.
I'm not seeing any way to do this currently. Either I'm missing it entirely, or there is no concept of doing this with Superset/eCharts. The closest I'm seeing is discussions on how to duplicate a chart, with the answer being to manually "save as" after manually changing the filter and renaming the axes/chart panel.
If there is no current solution for this, can you provide some thoughts and impressions on what it would take to create such a thing?
Beta Was this translation helpful? Give feedback.
All reactions