This will resolve, you can also change the position to inside/outside depending on your requirement.
I think you can do this with the json custom option ‘textposition’ and ‘text’ check out the plotly documentation:
use
Series > dataset > click > advanced>custom series options
{
"texttemplate": ["%{y}","%{y}","%{y}","%{y}","%{y}", "%{y}","%{y}","%{y}","%{y}","%{y}", "%{y}","%{y}"],
"textposition": "outside"
}