Nested x-axis categoricals from pandas dataframe without groupby aggregation

Hi, thanks for the response.

I did indeed see the fruits example, and that’s what I based my toy problem on. However, it does not use a dataframe, and as the rest of my workflow (SQL queries to multiple databases, df merges, calculations, formatting, etc.) is already in pandas, I’d love to stick with it. Otherwise, I suppose I can dump things into a dictionary, then make a CDF from that… but it seems like that defeats the purpose of pandas. I saw bokeh_catplot but haven’t tried it yet. That is the main problem I’m currently dealing with.

The example I saw was in the showcase:

I will post separate questions w.r.t. the other questions I asked, but it does take a while to find toy problems that replicate the issues I get with my actual workflow.