Black Lives Matter. Please consider donating to Black Girls Code today.
Learn how to use COVID-19 data in open source Dash apps. Register for the Sept 23rd webinar with IQT!

Show the y value on the diagrams

Good day everyone, I’m trying to show the y-values of different categories as text instead of hover data in the go.Bar() and go.Layout component, while I found it a little bit confusing.

Is there anyway I could achieve my goal like below please?

current in dash:

target:
图片

Check out the bar chart examples and docs here: https://plot.ly/python/bar-charts/#bar-chart-with-direct-labels