Hi,
I am trying to create a stacked bar chart and I am really struggling.
The chart is for capturing billing information about servers in different environments.
so for example:
DEV, QA, STG, PROD
Each environment will have one or more servers and each server has a cost associated.
I want the chart to show environment on the xaxis, with the bar for the env contain a stack bar for each servers cost, with the all stacks adding up to the total cost of the environment.
The issue I am having is that, it seems the way plotly wants the information isnt by BAR but by for each stack in each bar,
so for example, if the data was organised as below, I cannot get it to create a stack chart.
env = {'qa': [[20, 14, 23], ['s1','s2','s3']], 'prd': [[30, 40, 50], ['p1','p2','p3']], 'dev': [[3, 4, 5], ['d1','d2','d3']]}
Where the key is the environment name
the first list is the costs
second list is server name
Any help here would be appreciated.