Stacked

Stacked charts pile series on top of each other, to show how parts add up to a total or share it.

LLMs

Stacked areas

Set color on areaY to a category and the areas stack on a time axis, so the top edge traces the total over time.

Normalized

Pass stack({ offset: "normalize" }) to stretch every month to the full height and compare each category's share.

Streamgraph

Use stack({ offset: "wiggle", order: "inside-out" }) to float the layers around a moving center line.

Band cursor

Add two crosshair marks to stacked barY bars: a band that follows the month and a dashed rule at the focused segment.

Diverging

Set anchor on stack to center each bar on the middle of the neutral answers, so disagreement grows left and agreement right.

Marimekko

Lay counts out with mosaicY, so each column's width is its share of answers and each segment its share within the column.

Three y axes

Bind marks to named scales with yScale and set side on each scale to give temperature, rain and wind their own axis.