Solved Change the file below accordingly to Draw a stack bar...
{ 'color': '#FFD700'}) data = [trace1, trace2, trace3] # Preparing layout layout = go.Layout(title='Corona Virus Cases in the first 20 country expect China', xaxis_title="Country", yaxis_title="Number of cases", barmode='stack') #...