build69
build69  /  Components  /  Charts  /  ScatterChart

ScatterChart

v1.0.9Updated 20 Oct 2026

Recharts-backed scatter chart with optional brush selector for filtering. Use to spot correlation between two metrics.

Preview

Live · 7 stories
DefaultOpen ↗
▸Why this is recommendedchartscatterrechartscorrelation+3

The default, out-of-the-box ScatterChart.

Recommended for+14
  • ✓Correlation analysis
  • ✓Outlier detection
  • ✓Cohort plots
Tags+6
chartscatterrechartscorrelationbrushdata-vizdefault
Features+4
  • Single or multi-segment scatter
  • Optional brush range selector
  • Hover tooltip
  • Configurable point size
  • i18n: numbers/axis values format per LocaleProvider locale
Not recommended for−2
  • ✕Time-series progression (use LineChart)
  • ✕Categorical comparison (use BarChart)

Install

Ask your agent, or call the MCP tool directly. The resolved bundle is written into your project.

get_registry_item({ name: "ScatterChart" })

Usage

import { ScatterChart } from '@/components/data-viz/scatter-chart';

<ScatterChart data={points} brush />

Tick variants in the left menu — each adds a tab with that variant’s real story source, the same code the preview above renders.

Props

PropTypeRequired
data

Points (x, y, …)

ScatterDatum[]yes
brush

Show brush range selector

boolean—
xAllowDecimals

Let the X axis place fractional ticks. Defaults to false for the whole-number formats (integer, currency) so a small whole-number range does not render a rounded, repeating axis

boolean—
yAllowDecimals

Same as xAllowDecimals, for the Y axis

boolean—
xTickCount

How many ticks the X axis should aim for. Defaults to five, or to the number of whole steps the data spans when that is fewer

number—
yTickCount

Same as xTickCount, for the Y axis

number—

Related