Create stacked bar chart


Hi I am trying to create a stacked bar chart. i think that I am almost there. Here is the link to my Plotly chart

The missing element is to change the color for each type of degree. Also, I would like to fix the Y-axis. The way the degrees are labeled makes it confusing. I would be ok with the labels being in the legend. Preferably, I would like to have the degrees correspond to the section of the bar.

I would appreciate any help.

Thank you,



Here is what I would like the bar chart to look like.

the chart is created in excel . i want to create it in Plotly to make it interactive.

Thank you.


Hey @DataTrainer,

check out these tutorials: stacked bar charts and using the group function

Also, here is a rough final product you can invesitgate


Hi Branden,

Thank you links. They are helpful. Also, I appreciate you putting together the stacked bar chart, that was very nice of you.