Plot.plot({
x: {percent: true},
marks: [
Plot.axisX({anchor: "top"}),
Plot.axisX({anchor: "bottom", label: null}),
Plot.barX(alphabet, {x: "frequency", y: "letter"}),
Plot.gridX({interval: 1, stroke: "var(--vp-c-bg)", strokeOpacity: 0.5}),
Plot.ruleX([0])
]
})