Scatter plot preview
Compare independent numeric measures with exact point inspection, directional keyboard movement, and a complete data table.
pro · Data · composite
When to use
- Use it when a page needs compare independent numeric measures with exact point inspection, directional keyboard movement, and a complete data table.
- Choose it when the data structure, labels, and state are supplied by the application and must remain consumer controlled.
Alternatives
- Choose analytics-card instead when explore revenue, compare periods and inspect chart values is the actual interface need, rather than scatter plot.
Configure components.json and the @tidal-pro namespace before installing Pro components.
Installation
npx shadcn@latest add @tidal-pro/scatter-plotImport components/ui/tidal.css, components/ui/scatter-plot.css. Wrap installed components in tidal-scope.
Preview

Minimal example
import"./components/ui/tidal.css";
import"./components/ui/scatter-plot.css";
import{TidalScatterPlot}from"./components/ui/scatter-plot";
export default()=><div className="tidal-scope"><TidalScatterPlot data={[{id:"example",label:"Demo",x:1,y:1}]} onSelectedChange={() => {}} selectedId={"example"} title={"Demo"} xLabel={"Demo"} yLabel={"Demo"}/></div>;API and props
TidalScatterPlot.data (required)ReadonlyArray<TidalScatterPoint>Required data value accepted by this exported component.
TidalScatterPlot.onSelectedChange (required)(id: string, event: MouseEvent<HTMLButtonElement> | KeyboardEvent<HTMLButtonElement>) => voidCallback invoked when the selected change interaction is proposed.
TidalScatterPlot.selectedId (required)string | nullRequired selected id value accepted by this exported component.
TidalScatterPlot.title (required)ReactNodeRequired title value accepted by this exported component.
TidalScatterPlot.xLabel (required)stringRequired x label value accepted by this exported component.
TidalScatterPlot.yLabel (required)stringRequired y label value accepted by this exported component.
TidalScatterPlot.descriptionReactNodeOptional description value accepted by this exported component.
TidalScatterPlot.disabledboolean | undefinedOptional disabled value accepted by this exported component.
TidalScatterPlot.formatX((value: number) => string) | undefinedOptional format x value accepted by this exported component.
TidalScatterPlot.formatY((value: number) => string) | undefinedOptional format y value accepted by this exported component.
TidalScatterPlot.headingLevel"h2" | "h3" | "h4" | "h5" | "h6" | undefinedOptional heading level value accepted by this exported component.
TidalScatterPlot.labelsPartial<{ plot: string; instructions: string; empty: string; invalid: string; selection: string; none: string; table: string; point: string; inspect: string; }> | undefinedOptional labels value accepted by this exported component.
TidalScatterPlot.plotPropsPlotNative | undefinedOptional plot props value accepted by this exported component.
TidalScatterPlot.plotRefRef<HTMLButtonElement> | undefinedOptional plot ref value accepted by this exported component.
Complete usage
Full example, stylesheet imports, API and accessibility documentation
Gotchas
- The host application owns data, validation, persistence, navigation, and service side effects described by this API.