Skip to main content
A combo chart layers two geoms with different y-scales — typically bars for one metric and a line for another on a second axis. It’s how you show two series whose units or magnitudes don’t share a scale.

Dual-axis example

Give each geom its own y through a layer-local mapping, and bind the line to the secondary axis with yScaleType: 'secondary':
Each scale trains only on the layers bound to it, so the two metrics keep independent ranges.