Docs
📊 ⏐ Charts
Radial Scatter Plot

Radial Scatter Plot

A Radial or Circular Scatter Plot in REAVIZ is used for displaying circular data by wrapping the usual scatter plot around a circle. Each point in the chart is positioned according to its data values, with the distance from the center representing the data's magnitude.

Types supported by reaviz:

  • Scatter - Displays individual data points in a circular layout.
  • Bubble - Similar to scatter, but with points sized according to a third data dimension.

Where to use:

  • Display Circular Data: Ideal for representing data in a circular format.
  • Visualize Relationships: Useful for visualizing relationships between multiple data points.
  • Highlight Data Patterns: Great for identifying patterns and trends in data.

Quick Start

To create a Radial Scatter Plot, use import the RadialScatterPlot and give it data. The chart will automatically configure itself with the default options exposed via props.

Examples

Scatter

Bubble

API

RadialScatterPlot (opens in a new tab)

PropDescriptionDefault
dataData the chart will receive to render.
ChartShallowDataShape<ChartDataTypes | [ChartDataTypes, ChartDataTypes]>[]
seriesThe series component that renders the scatter components.
ReactElement<RadialScatterSeriesProps, FC<Partial<RadialScatterSeriesProps>>>
axisThe radial axis component for the chart.
ReactElement<RadialAxisProps, FC<Partial<RadialAxisProps>>>
innerRadiusThe inner radius for the chart center.
number
idId of the chart.
string
widthWidth of the chart. If not provided will autosize.
number
heightHeight of the chart. If not provided will autosize.
number
marginsMargins for the chart.
Margins
classNameClassnames for the chart.
string
containerClassNameClassnames for the chart.
string
styleAdditional css styles.
StyleHTMLAttributes<SVGSVGElement>
centerCenter the chart. Used mainly internally.
boolean
centerXCenter chart on X Axis only. Used mainly internally.
boolean
centerYCenter chart on Y Axis only. Used mainly internally.
boolean

RadialScatterSeries (opens in a new tab)

PropDescriptionDefault
pointPoint that is rendered.
ReactElement<RadialScatterPointProps, FC<Partial<RadialScatterPointProps>>>
<RadialScatterPoint />
xScaleD3 scale for X Axis. Set internally by `RadialScatterPlot`.
any
yScaleD3 scale for Y Axis. Set internally by `RadialScatterPlot`.
any
dataParsed data shape. Set internally by `RadialScatterPlot`.
ChartInternalShallowDataShape[]
idId set internally by `RadialScatterPlot`.
string
animatedWhether to animate the enter/update/exit.
boolean
true
activeIdsActive element ids to highlight.
string[]
showWhen to show the point.
boolean
true
valueMarkersValue markers line for the chart.
ReactElement<RadialValueMarkerProps, FC<RadialValueMarkerProps>>[]

RadialScatterPoint (opens in a new tab)

PropDescriptionDefault
dataParsed data shape. Set internally by `RadialScatterPlot`.
ChartInternalShallowDataShape
indexIndex of the element in the series. Set internally by `RadialScatterSeries`.
number
animatedWhether the element is active or not. Set internally by `RadialScatterSeries`.
boolean
xScaleD3 scale for X Axis. Set internally by `RadialScatterPlot`.
any
yScaleD3 scale for Y Axis. Set internally by `RadialScatterPlot`.
any
fillFill for the element.
string
idId set internally by `RadialScatterPlot`.
string
colorColor of the circle.
any
schemes.cybertron[0]
classNameCSS classes to apply.
any
activeWhether the element is active or not. Set internally by `RadialScatterSeries`.
boolean
true
visibleWhether the elment is visiblbe or not.
(value: any, index: any) => boolean
symbolSymbol element to render.
(value: any) => ReactNode
sizeSize of the circle element.
number | ((d: any) => number)
3
tooltipTooltip element.
ReactElement<ChartTooltipProps, FC<Partial<ChartTooltipProps>>>
<ChartTooltip />
onClickEvent for when a symbol is clicked.
(event: any) => void
() => undefined
onMouseEnterEvent for when the symbol has mouse enter.
(event: any) => void
() => undefined
onMouseLeaveEvent for when the symbol has mouse leave.
(event: any) => void
() => undefined