☰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

Race bar chart - bokeh/holoviews

Community Support
Zana
Zana

Hi, just a quick question regarding racing bar charts. Is it possible to do in bokeh with server. I have seen examples in matplotlib, but they show snapshots in time, I was wondering if its possible to do with bokeh but the bars crossing over eachother like done here:

Thanks!

⌁   Link to post
Bryan
Bryan

Hi @Zana I think this is definitely possible, but maybe not as simple as we might hope, at present. Right now, you would to have to explicitly compute the bar positions for the cross-overs yourself, which can certainly be done, but might be a bit tedious. I’d suggest using a standard numeric axis and not a categorical axis for something like this, as the plain numercial coordinates will be much easier to deal with than manipulating categorical offsets.

The thing that would make this simpler is when this issue is implemented:

https://github.com/bokeh/bokeh/issues/128

We’ve proposed it as an idea for GSOC 2020 but if no student wants to take it up, it’s probably something I will finally try to make time for later this year.

⌁   Link to post
JT2020
JT2020

Hi @Zana,
Did you manage to make the bar chart race plot? I am quite interested in making such a plot, however, I have little experience with animations in Bokeh - perhaps you can send me in the right direction?

Br, Jens

⌁   Link to post

End of archived discussion · Replies are disabled