Two series race across fifty points, one solid and one dashed, each carrying a badge and a live figure while a counter runs in the corner
This is the format it was composed for. Switch above to see it lay itself out for another: same animation, re-arranged for the frame.
Everything below can be changed without touching the animation. Hand the list to an agent, or edit the values at the bottom of the component file.
The comparison being made, set top-left. A noun phrase naming the measure: 'Revenue, indexed' rather than 'A chart of revenue'.
now: Umsatzentwicklung im Vergleich
One line under the title for the unit or the baseline: 'Index, 1976 = 20'. This is where a chart earns trust, so say what the numbers are.
now: Index, 1976 = 20
Legend name for the solid series.
now: Aurea Systems
Legend name for the dashed series.
now: Northlane Works
The solid series, in order. Drawn with a round badge. Any length, the x axis divides itself evenly, so 20 points and 200 points both fill the plot.
now: 51 items
The dashed series. Should be the same length as seriesA; if it is not, the shorter one stops early and the longer one keeps going, which is usually a mistake rather than a design.
now: 51 items
The value of the first x position, counted up one per point and shown large in the corner. Years are the obvious case; any integer sequence works.
now: 1976
Small label above the running counter. Set to an empty string to drop it.
now: Jahr
Top of the y scale. Deliberately not derived from the data: a fixed ceiling is what lets the winner visibly run out of room near the top.
now: 110
Values that get a gridline and a left-hand label.
now: 5 items
Label every Nth x position. 10 over 50 points gives six labels, which is about the most a frame can carry.
now: 10
Hex for the solid series. Empty uses the brand accent, which is the safer choice.
Hex for the dashed series. Empty uses the brand's alternate accent.
Brand preset. The light presets (paper, press, field) put dark type on a pale ground; the dark ones invert it. Both are composed for. This component reads its type colour from the brand rather than assuming a dark frame.
now: paper
No Tailwind, no CSS, no asset files. Inline styles only.
Two series racing across half a century on a fixed 0-110 scale: one solid line for the early leader that keeps stumbling, one dashed for the late entrant whose logistic curve goes straight past it. Gridlines and axis labels fade up first, then both lines draw together over about eight seconds while a year counter runs large in the top-right corner. Each line carries a badge at its leading edge, a disc for the first, a hexagon for the second, with the current value beside it, and the two badges push each other apart when they would otherwise overlap.