Lines & data

Stroke Draw Chart

Loading…
Scene6s typicallandscape · portrait · square

Overview

Establish quiet grid lines, draw the illustrative trend in time order, then introduce the endpoint annotation as the line finishes arriving.

Build

  1. 01

    Use a restrained grid to establish the chart scale.

  2. 02

    Normalize the trend path with pathLength=1.

  3. 03

    Animate stroke-dashoffset from 1 to 0 with a measured ease.

  4. 04

    Draw the trend from 0.42 to 2.76 seconds; introduce the endpoint after arrival. Hold the complete chart, then fade the annotation before clearing the line for the loop.

pathLength=1; stroke-dasharray: 1;
trend: 0.42–2.76s; annotation: 2.76–3.3s;
annotation exit: 4.68–5.28s; line exit: 4.92–5.64s
Example source React / TSX

examples/stroke-draw-chart.tsx · Uses the catalog’s shared composition helpers.

Loading source…