How to add a vertical line to horizontal bar chart

In a horizontal bar chart, such as

var data = [
{
y: [‘giraffes’, ‘orangutans’, ‘monkeys’],
x: [20, 14, 23],
type: ‘bar’
, orientation: ‘h’
}
];

Plotly.newPlot(‘myDiv’, data);

I need to add a vertical line and a text located at x = 10.
How to proceed?
Thank you.

Does this help?