Hello lovely people
Is there a way to generate a multi stacked bar charts figure in plotly such as the following image:
the following is a list of 3 figures that generate stacked bar charts, each corresponding to a certain date.
- the x axes represents age.
- the bar stacked bar charts represent the percentage of each of 3 categories (intent, no, unaware)
- all 3 figures have the same x axis.
[Figure({
βdataβ: [{βnameβ: β2021.03.20 R_UNAWAREβ,
βtypeβ: βbarβ,
βxβ: array([β25-34β, β<25β, β55+β, β45-54β, β35-44β], dtype=object),
βyβ: array([Decimal(β0.4523800000β), Decimal(β0.5781250000β),
Decimal(β0.5277770000β), Decimal(β0.4482750000β),
Decimal(β0.4687500000β)], dtype=object)},
{βnameβ: β2021.03.20 R_NOβ,
βtypeβ: βbarβ,
βxβ: array([β25-34β, β<25β, β55+β, β45-54β, β35-44β], dtype=object),
βyβ: array([Decimal(β0.0952380000β), Decimal(β0.3437500000β),
Decimal(β0.1388880000β), Decimal(β0.0689650000β),
Decimal(β0.0937500000β)], dtype=object)},
{βnameβ: β2021.03.20 R_INTENTβ,
βtypeβ: βbarβ,
βxβ: array([β25-34β, β<25β, β55+β, β45-54β, β35-44β], dtype=object),
βyβ: array([Decimal(β0.4523800000β), Decimal(β0.0781250000β),
Decimal(β0.3333330000β), Decimal(β0.4827580000β),
Decimal(β0.4375000000β)], dtype=object)}],
βlayoutβ: {βbarmodeβ: βstackβ, βtemplateβ: ββ¦β}
}),
Figure({
βdataβ: [{βnameβ: β2021.04.14 R_UNAWAREβ,
βtypeβ: βbarβ,
βxβ: array([β55+β, β25-34β, β45-54β, β35-44β, β<25β], dtype=object),
βyβ: array([Decimal(β0.4838700000β), Decimal(β0.4761900000β),
Decimal(β0.3043470000β), Decimal(β0.1000000000β),
Decimal(β0.6818180000β)], dtype=object)},
{βnameβ: β2021.04.14 R_NOβ,
βtypeβ: βbarβ,
βxβ: array([β55+β, β25-34β, β45-54β, β35-44β, β<25β], dtype=object),
βyβ: array([Decimal(β0.2580640000β), Decimal(β0E-10β), Decimal(β0E-10β),
Decimal(β0.0666660000β), Decimal(β0.1363630000β)], dtype=object)},
{βnameβ: β2021.04.14 R_INTENTβ,
βtypeβ: βbarβ,
βxβ: array([β55+β, β25-34β, β45-54β, β35-44β, β<25β], dtype=object),
βyβ: array([Decimal(β0.2580640000β), Decimal(β0.5238090000β),
Decimal(β0.6956520000β), Decimal(β0.8333330000β),
Decimal(β0.1818180000β)], dtype=object)}],
βlayoutβ: {βbarmodeβ: βstackβ, βtemplateβ: ββ¦β}
}),
Figure({
βdataβ: [{βnameβ: β2021.04.29 R_UNAWAREβ,
βtypeβ: βbarβ,
βxβ: array([β<25β, β25-34β, β55+β, β45-54β, β35-44β], dtype=object),
βyβ: array([Decimal(β0.4705880000β), Decimal(β0.4444440000β),
Decimal(β0.2051280000β), Decimal(β0.1500000000β),
Decimal(β0.3548380000β)], dtype=object)},
{βnameβ: β2021.04.29 R_NOβ,
βtypeβ: βbarβ,
βxβ: array([β<25β, β25-34β, β55+β, β45-54β, β35-44β], dtype=object),
βyβ: array([Decimal(β0.4705880000β), Decimal(β0.1481480000β),
Decimal(β0.4871790000β), Decimal(β0E-10β), Decimal(β0.0645160000β)],
dtype=object)},
{βnameβ: β2021.04.29 R_INTENTβ,
βtypeβ: βbarβ,
βxβ: array([β<25β, β25-34β, β55+β, β45-54β, β35-44β], dtype=object),
βyβ: array([Decimal(β0.0588230000β), Decimal(β0.4074070000β),
Decimal(β0.3076920000β), Decimal(β0.8500000000β),
Decimal(β0.5806450000β)], dtype=object)}],
βlayoutβ: {βbarmodeβ: βstackβ, βtemplateβ: ββ¦β}
}),
Figure({
βdataβ: [{βnameβ: β2021.05.06 R_UNAWAREβ,
βtypeβ: βbarβ,
βxβ: array([β25-34β, β55+β, β45-54β, β<25β, β35-44β], dtype=object),
βyβ: array([Decimal(β0.2500000000β), Decimal(β0.1290320000β),
Decimal(β0.0909090000β), Decimal(β0.5000000000β),
Decimal(β0.2325580000β)], dtype=object)},
{βnameβ: β2021.05.06 R_NOβ,
βtypeβ: βbarβ,
βxβ: array([β25-34β, β55+β, β45-54β, β<25β, β35-44β], dtype=object),
βyβ: array([Decimal(β0.0750000000β), Decimal(β0.5161290000β), Decimal(β0E-10β),
Decimal(β0.1818180000β), Decimal(β0.0697670000β)], dtype=object)},
{βnameβ: β2021.05.06 R_INTENTβ,
βtypeβ: βbarβ,
βxβ: array([β25-34β, β55+β, β45-54β, β<25β, β35-44β], dtype=object),
βyβ: array([Decimal(β0.6750000000β), Decimal(β0.3548380000β),
Decimal(β0.9090900000β), Decimal(β0.3181810000β),
Decimal(β0.6976740000β)], dtype=object)}],
βlayoutβ: {βbarmodeβ: βstackβ, βtemplateβ: ββ¦β}
})]
I would like to combine these 3 figures into one.
Thanks in advance