☰Read-only archive⌕
Looking for help with Bokeh?

This is a read-only archive. Ask questions and join the conversation on GitHub.

Visit Community Support on GitHub →
Archived discussions · Captured October 28, 2026

Nested categorical data with more than 3 levels

Community Support
marcohalder86
marcohalder86

Hello,

I would like to plot nested categorical data similar to the example shown in

But with four or more nesting levels, which fails.

How can I achieve this?

Kind regards,
Marco

⌁   Link to post
Bryan
Bryan

Hi,

This is not supported, Bokeh can only accommodate up to three levels of nesting. I'd say that this is probably unlikely to change, as the amount of added complexity needed to support more levels is not justified for such a rare use case. In terms of a practical workaround, I'd suggest faceting your plots at this point (and also as a matter of personal opinion about effective visualization).

Thanks,

Bryan

···

On Jun 27, 2018, at 11:18, marcohalder86@gmail.com wrote:

Hello,

I would like to plot nested categorical data similar to the example shown in

https://bokeh.pydata.org/en/latest/docs/user_guide/categorical.html#nested-categories

But with four or more nesting levels, which fails.

How can I achieve this?

Kind regards,
Marco

--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bokeh+unsubscribe@continuum.io.
To post to this group, send email to bokeh@continuum.io.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/503fc0a4-0820-44bc-8fe2-658392a60399%40anaconda.com\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.

⌁   Link to post

End of archived discussion · Replies are disabled