D3 Grouped bar chart with only one bar

newbie here,
need sample of 2 column in one bar graph, beginning in y=0. looks the stackable bar graph but not one over the other.

Like a grouped bar chart?

Cobus, thanks for your help,
Like this, but with male/female in a single bar! beginning at zero(y=0), not stacked one over the other, where we can see one full bar plus the difference of the other :slight_smile: We can also make one of the bar thinner

These are often called bullet graphs. See Plot: Bullet graph / Observable | Observable for an example.

1 Like

one more example: