Premium Docs
Design System Showroom Density normal Platform Flagship
Landing
Playground
Navigator Library map
8 sections 212 routes
Foundations first, then primitives, patterns, structures, and surfaces. Keep this rail legible enough to scan without hunting. Runtime fingerprint Token readout from the active provider chain.
Live DS Runtime
Rottay / Modern Platform Flagship
Primary
#FFFFFF Secondary #A0A0A5
Compact runtime evidence across 3+ token signals.
Basic 3 variants Runtime-driven docs
Live preview
Validate the chart in the active showroom runtime Sidebar engine and tenant drive this Basic
This preview should stand on the chart itself: legibility, token use, spacing, and interaction rhythm all need to hold without extra local storytelling chrome. Loading chart preview... The interactive chart canvas mounts client-side so the docs page stays stable while the preview runtime boots.
Import Published package entrypoint, ready to copy.
Consumption
Runtime-aware snippet
Copy import { ScatterChart } from '@rottay/design-system';
Usage Paste-ready example that shows the base contract first.
Consumption
Runtime-aware snippet
Copy <ScatterChart
data={[
{ x: 10, y: 20, label: 'A', size: 40 },
{ x: 25, y: 35, label: 'B', size: 80 },
{ x: 40, y: 15, label: 'C', size: 120 },
]}
xLabel="Revenue ($K)"
yLabel="Growth (%)"
bubble
trendLine
height={300}
animate
/>ScatterChart props Prop contracts stay readable across dark-first and light-first tenants.
26 props 1 required 25 optional
Fast read Start with required props, then scan defaults before dropping to per-row details.
Contract posture This reference stays intentionally concise so the primitive contract remains scannable.
Primitives 93 documented routes
Structures 24 documented routes
Surfaces 36 documented routes
Verticals 3 documented routes
Playground 1 documented routes
Developers 2 documented routes
rounded top bar · solid dividers
Patterns Visualization Charts Scatter
Scatter Active profile Platform Flagship
Runtime posture Rottay / modern
D3-backed chart recipes with token-aware styling. Tier Chart A specialized visualization pattern.
Family Basic Start with axis clarity.
Best for comparing categories Compare against more advanced statistical charts.
Review checklist 3 items
axis clarity
label density
at-a-glance story
Compare against 2 items
more advanced statistical charts
flow charts
ScatterDataPoint[]
none
Numeric x/y points, with optional size metadata.
string
none
string
none
number
5
boolean
false
Maps data.size to point radius.
[number, number]
[4, 30]
Minimum and maximum bubble radius.
boolean
true
number
0.7
boolean
false
Displays a least-squares trend line.
boolean
none
Displays the family legend.
string[]
none
Explicit palette; otherwise inherits the active tenant chart personality.
ChartMargin
none
Insets around the SVG drawing area.
ChartCartesianCompactConfig
none
Configures compact rendering but does not activate it.
boolean
false
Activates compact rendering explicitly.
boolean
false
Activates compact rendering below compactBreakpoint.
number
640
Container-width threshold for autoCompact.
number | string
none
Chart container width; falls back to the family default.
number
none
Chart height; falls back to the family default.
string
none
Additional class name applied to the chart wrapper.
CSSProperties
none
Inline styles applied to the chart wrapper.
boolean
false
Displays the governed loading state.
string
none
Accessible chart title displayed above the plot.
string
none
Supporting text displayed below the title.
boolean
none
Overrides the active tenant animation personality.
boolean
true
Measures and follows the container width.
boolean
none
Enables the family tooltip behavior.
data Required
ScatterDataPoint[]none
Numeric x/y points, with optional size metadata. xLabel Optional
stringnone
Horizontal-axis label. yLabel Optional
stringnone
Vertical-axis label. pointRadius Optional
number5
Default point radius. bubble Optional
booleanfalse
Maps data.size to point radius. sizeRange Optional
[number, number][4, 30]
Minimum and maximum bubble radius. grid Optional
booleantrue
Displays grid lines. opacity Optional
number0.7
Point fill opacity. trendLine Optional
booleanfalse
Displays a least-squares trend line. legend Optional
booleannone
Displays the family legend. colors Optional
string[]none
Explicit palette; otherwise inherits the active tenant chart personality. margin Optional
ChartMarginnone
Insets around the SVG drawing area. compact Optional
ChartCartesianCompactConfignone
Configures compact rendering but does not activate it. compactMode Optional
booleanfalse
Activates compact rendering explicitly. autoCompact Optional
booleanfalse
Activates compact rendering below compactBreakpoint. compactBreakpoint Optional
number640
Container-width threshold for autoCompact. width Optional
number | stringnone
Chart container width; falls back to the family default. height Optional
numbernone
Chart height; falls back to the family default. className Optional
stringnone
Additional class name applied to the chart wrapper. style Optional
CSSPropertiesnone
Inline styles applied to the chart wrapper. loading Optional
booleanfalse
Displays the governed loading state. title Optional
stringnone
Accessible chart title displayed above the plot. subtitle Optional
stringnone
Supporting text displayed below the title. animate Optional
booleannone
Overrides the active tenant animation personality. responsive Optional
booleantrue
Measures and follows the container width. tooltip Optional
booleannone
Enables the family tooltip behavior.