Skip to Content
DocsπŸ“Š ⏐ ChartsRadial 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Β 

NameTypeDefault
dataChartShallowDataShape[]

Data the chart will receive to render.

seriesReactElement<RadialScatterSeriesProps, FC<Partial<RadialScatterSeriesProps>>>

The series component that renders the scatter components.

axisReactElement<RadialAxisProps, FC<Partial<RadialAxisProps>>> | null

The radial axis component for the chart.

innerRadiusnumber

The inner radius for the chart center.

idstring

Id of the chart.

widthnumber

Width of the chart. If not provided will autosize.

heightnumber

Height of the chart. If not provided will autosize.

marginsMargins

Margins for the chart.

classNamestring

Classnames for the chart.

containerClassNamestring

Classnames for the chart.

styleStyleHTMLAttributes<SVGSVGElement>

Additional css styles.

centerboolean

Center the chart. Used mainly internally.

centerXboolean

Center chart on X Axis only. Used mainly internally.

centerYboolean

Center chart on Y Axis only. Used mainly internally.

RadialScatterSeriesΒ 

NameTypeDefault
pointReactElement<RadialScatterPointProps, FC<Partial<RadialScatterPointProps>>>

Point that is rendered.

`<RadialScatterPoint />`
xScaleany

D3 scale for X Axis. Set internally by RadialScatterPlot.

yScaleany

D3 scale for Y Axis. Set internally by RadialScatterPlot.

dataChartInternalShallowDataShape[]

Parsed data shape. Set internally by RadialScatterPlot.

idstring

Id set internally by RadialScatterPlot.

animatedboolean

Whether to animate the enter/update/exit.

true
activeIdsstring[]

Active element ids to highlight.

showboolean

When to show the point.

true
valueMarkersReactElement<RadialValueMarkerProps, FC<RadialValueMarkerProps>>[] | null

Value markers line for the chart.

RadialScatterPointΒ 

NameTypeDefault
dataChartInternalShallowDataShape

Parsed data shape. Set internally by RadialScatterPlot.

indexnumber

Index of the element in the series. Set internally by RadialScatterSeries.

animatedboolean

Whether the element is active or not. Set internally by RadialScatterSeries.

xScaleany

D3 scale for X Axis. Set internally by RadialScatterPlot.

yScaleany

D3 scale for Y Axis. Set internally by RadialScatterPlot.

fillstring

Fill for the element.

idstring

Id set internally by RadialScatterPlot.

colorany

Color of the circle.

schemes.cybertron[0]
classNameany

CSS classes to apply.

activeboolean

Whether the element is active or not. Set internally by RadialScatterSeries.

true
visible(value: any, index: any) => boolean

Whether the elment is visiblbe or not.

symbol(value: any) => ReactNode

Symbol element to render.

sizenumber | ((d: any) => number)

Size of the circle element.

3
tooltipReactElement<ChartTooltipProps, FC<Partial<ChartTooltipProps>>> | null

Tooltip element.

`<ChartTooltip />`
onClick(event: any) => void

Event for when a symbol is clicked.

onMouseEnter(event: any) => void

Event for when the symbol has mouse enter.

onMouseLeave(event: any) => void

Event for when the symbol has mouse leave.

Last updated on