Can Plotly do bar chart group with total similar to ChartJS?

Can Plotly do bar chart group with total number similar to ChartJS? Thank you.

test01
test02