Skip to main content

Analytics and Interaction

8 pages

A few categories, compared

Bar chart, 3 series over EMEA–LATAM; renewal peaks at 1,007 in EMEA

Computed reference lines and bands: analytics={[{ kind: "line", value: "mean" }]} on any cartesian container, ScatterChart (both axes) and DistributionChart.

11 examples

Drag a rectangle or draw a lasso over points, bars or cells: selectionGestures={["rect", "lasso"]} plus onSelectionIntent.

10 examples

Select a run of values by dragging along an axis: selectionGestures={["range"]}.

9 examples

Three charts on one selection: a lasso in the scatter or a click in the bars goes to createLocalSelectionDriver(), and every chart paints the result through selectionStates — selected, excluded (dimmed) or associated.

1 example

Trend lines (linear, log, exp, pow, polynomial, loess), rolling windows (mean, median, sum, min, max, exponential), additive Holt-Winters forecasts with a prediction band, and per-datum error bars — analytics={[{ kind: "trend", model: { poly: 3 } }]} and friends.

9 examples

An overview strip under a chart that shows the whole series and a draggable window onto it.

8 examples

The selection chrome: a toolbar that switches between pointer, range, rectangle and lasso, and the confirm modes.

6 examples