Scatter Chart

Compare two numeric dimensions point by point — correlations, outliers, or multi-group distributions.

Orbital accepts the same point model (x, y, id), supports tabular Dataset wiring via field keys, and uses Voronoi hit detection so small markers stay easy to interact with.

  • Correlation or distribution plots with two continuous variables.
  • Dual y-axis layouts when two metrics share an x dimension but use different scales.
  • Dataset-driven exploration tables exported to scatter via x_field / y_field.
  • Pass inline scatter_data on series, or bind a Dataset with x_field, y_field, and optional id_field.
  • Set voronoi_max_radius when dense plots need forgiving hover targets.
  • Assign y_axis_id on series for biaxial layouts (left/right y-axes).
  • Leave skip_animation unset to honor reduced-motion preferences.
  • Wrap the chart in a native element with data-testid for E2E hooks.
Correlation scatter

Single-series plot with Voronoi hover targets and grid. voronoi_max_radius caps pointer distance so the nearest point wins in dense regions.

50100150Weight (kg)0100200300Height (cm)
Dataset binding

Bind tabular points from a processed Dataset with binding or x_field / y_field keys. Each row becomes a scatter point with stable ids from id_field when set.

204060Weight (kg)050100150Height (cm)
Dual y-axis scatter

Two series on left and right y-axes when metrics share an x dimension but use different scales. Set y_axis_id on each series to match axis ids — see charts-axis for axis setup.

20406080Mass (kg)200400600Strength (N)050100150200Height (cm)