chartcn

Composition

Brush zoom, reference marks, error bars, funnel template, and special bar layouts.

Cross-cutting layouts and interactions you can compose onto the core chart families.

Funnel template

chart-funnel-template — FunnelChart with LabelList for a polished step funnel.

Funnel Chart — Template
Polished FunnelChart leftover (distinct from analytics funnel steps)

Brush zoom

chart-extras-area-brush — Brush for panning and zooming a range. The line equivalent lives with the line family as chart-line-brush.

Area Chart — Brush Zoom
Drag the handles to resize the range, or the shaded band to pan it

Reference highlights

chart-line-reference — ReferenceArea, ReferenceDot, and ReferenceLine for event windows and callouts.

Line Chart — Reference Highlights
ReferenceArea + ReferenceDot + ReferenceLine for event callouts

Error bars

Bar — chart-bar-error

Bar Chart — ErrorBar
Symmetric and asymmetric error whiskers on bars

Scatter — chart-scatter-error

Scatter Chart — ErrorBar
Bidirectional x/y error whiskers on points

Special bar layouts

Diverging — chart-bar-diverging

Positive / negative variance bars.

Bar Chart — Diverging
Positive / negative variance from plan

Horizontal — chart-bar-horizontal

Bar Chart — Horizontal
Category ranking with vertical layout

Range — chart-bar-range

Interval bars via [min, max] data keys.

Bar Chart — Range
Low–high interval bars via `[min, max]`

On this page