Skip to content
DocsChartsScatterLast updated Nov 2, 2026

Scatter

Two measures per item, as dots. Sample data: 30-day return against volatility for BTC, ETH and tokens in layer 1, DeFi and meme groups.

Open in
Return vs volatility · 30 d30-day return against volatility for 12 tokens in 3 groups; PEPE has the highest return at +34% with 118% volatility.+40%+20%0−20%30% VOL60%90%120%BTCETHLAYER 1DEFIMEME
Return vs volatility · 30 d
TokenGroupVolatilityReturnBubble size
BTCLayer 138%+6%28
ETHLayer 152%+9%14
SOLLayer 174%+14%4.2
AVAXLayer 188%−6%0.7
LINKDeFi70%+3%0.6
UNIDeFi82%−2%0.5
AAVEDeFi78%+18%0.45
MKRDeFi66%−9%0.3
DOGEMeme96%+22%1.8
PEPEMeme118%+34%0.9
SHIBMeme104%−12%0.6
BONKMeme114%−15%0.4
Return vs volatility · 30 d30-day return against volatility for 12 tokens in 3 groups; PEPE has the highest return at +34% with 118% volatility.+40%+20%0−20%30% VOL60%90%120%BTCETHLAYER 1DEFIMEME
Return vs volatility · 30 d
TokenGroupVolatilityReturnBubble size
BTCLayer 138%+6%28
ETHLayer 152%+9%14
SOLLayer 174%+14%4.2
AVAXLayer 188%−6%0.7
LINKDeFi70%+3%0.6
UNIDeFi82%−2%0.5
AAVEDeFi78%+18%0.45
MKRDeFi66%−9%0.3
DOGEMeme96%+22%1.8
PEPEMeme118%+34%0.9
SHIBMeme104%−12%0.6
BONKMeme114%−15%0.4

Installation

  1. 1

    Set up the registry once

    This chart is free in Hearth and MIT licensed: no token. Add @chartory to components.json once (the URL alone, no headers), or skip this when another chart is already installed.

    Installation guide
  2. 2

    Add the chart

    One command adds the Scatter component to your project.

    npx shadcn add @chartory/scatter
  3. 3

    Use it

    Pass your rows. The props are the Figma properties.

    usage.tsx
    import { Scatter }  from "@/components/chartory/scatter"<Scatter  data={returnVsVolatility}  size="m"  legend/>

Props

<Scatter>

Every prop but data is a Figma property with the same name and values.

PropTypeDefault
data: The chart's data. The tables below list every field.ScatterDataRequired
size: The size class. Each one is laid out again from the data."xs" | "s" | "m" | "l""m"
legend: Shows the legend row under the plot.booleantrue

ScatterData

The data prop: one object for the whole chart.

PropTypeDefault
pts: One entry per point.[number, number, number, string, string][]Required
xmin: The left end of the x scale.numberRequired
xmax: The right end of the x scale.numberRequired
ymin: The bottom of the y scale.numberRequired
ymax: The top of the y scale.numberRequired
ticks: The axis tick labels.string[]Required
xt: The x axis ticks: [value, label] pairs.[number, string][]Required
smax: The largest size.numberRequired

The data as a JSON Schema: schemas/scatter.json

Scatter plot: a React and Figma chart in four sizes

What does a scatter plot show?

A scatter plot places each item by two measures, so links, clusters and outliers show. Colour adds a group. Use it for return against risk, price against rating or any two numbers per item.

Chartory ships it as a Figma component and a React component with the same name. The code installs from the shadcn registry with one command and lands in your project as a file you own.

What is the Scatter component?

It is one <Scatter> component. Its props are the Figma properties with the same names and values, and the props table above lists them. The data is two values, a size, a group and a name per item.

Sizes XS, S, M and L re-lay the chart out from the data instead of scaling it, so labels stay readable at every size.

When should I use it?

  • Are there two measures per item? Yes means the scatter fits.
  • Is the link the point? Yes means the scatter fits.
  • Are there just two measures? Yes means the scatter fits.

When does another type fit better?

  • One measure per item. Use Horizontal bars instead.
  • Four zones to act on. Use Quadrant instead.
  • Many measures per item. Use Parallel coordinates instead.

Scatter questions

Installing, data, Figma and plans.

  • Yes. It installs through the shadcn registry with the shadcn CLI, and the file lands in your project.

Stay in the loop

New charts, by email.

Get an email when new chart types and releases ship.

Unsubscribe any time.