I am trying to make a hbar_stack plot for to visualize following properties:
11 entries along y-axis (name1, name2, …) with 15 values for each entry to be plotted along the y-axis as bars.
Each value come from one of 5 categories: [‘A’,‘B’,‘C’,‘D’,‘E’], I want the color of the bar to represent the respective category.
So far I’ve followed the stacked_split example from
I can plot the data as I’ve intended, but not been able to color the bars. My problem is similar, but instead of having imports from each year, I have imports from different countries wich may not be the same for all fruits. I want the color to represent countries!
I’ve tried looking at the autompg example from the same page as I figured it could have some clues to my problem, but haven’t been able to apply the color handling to hbar_stack.
I am fairly new to Bokeh, but so far I am really enjoying it and I think the documentation is great. Reading older comments on Bokeh, it is clear that someone must have done a good job at improving both documentation and use friendly-ness.