Creating Piechart subplot of n elements

Hi all,

I am currently faced with the problem of having to read data from a dataframe. Once the data is read i will have to create a piechart of certain numbers for every unique index value, since I do not know how many unique index values exist before reading the dataframe there is no way for me to hardcode the number of charts ergo use the domain attribute.

Thank you in advance for your help

Hi so I ended up solving it by creating a function which splits the domain after reading the unique values within my index. That way I can use the standard subplot method as decribed on the plotly site