Pie Chart Subplot updated by slicer


I have two plots: one of them with a time slicer with the time frames 6M, 12M, 2Y, All. Obviously, the X-axis it’s time based.
What I want to do is that the slicer updates another subplot, which is a piechart with the percentages of each Y value in that time. i.e. if I select 12M, a piechart that calculates the percentage of each value in that period, not in a monthly basis.

Is there any way that the slicer can handle also that piechart subplot and make the calculations of % in that period?


hi @Jota
Welcome to the community.

You can also do this by using Dash and the callback. Do you have experience using Dash?