Check the table first. Each plotted mark must carry one label and one value from that table.
Dots make it easy to compare positions on the value axis. Bars make the same values feel like filled magnitudes from zero. The numbers do not change when the mark shape changes.
A tiny visualization bridge: the same pinned labels and values can be displayed as dot marks or bar marks before writing any plotting code.
highlighted = computed this step
Pinned plot data
Start with pinned labels and pinned values. The plot must display these values exactly.
pinned plot data
Dot marks
Dot marks show one value per label, like a tiny matplotlib scatter view.
dot marks
Bar marks
Bar marks use the same values with a different mark shape, like a tiny matplotlib bar view.