ScatterPlot
Data Visualization
visx 기반 산점도.
Usage
두 수치 변수의 상관관계·군집·이상치를 점의 분포로 살펴볼 때 사용한다.
import
import
API Reference
ScatterPlot Props
Prop
Type
Default
data
필수
TDatum[]
지정 안 함
xKey
필수
string
지정 안 함
yKey
필수
string
지정 안 함
children
ReactNode
지정 안 함
className
string
지정 안 함
colors
string[]
지정 안 함
dotRadius
number
5
groupKey
string
지정 안 함
groupLabels
Record<string, string>
지정 안 함
legendPosition
"bottom" | "left" | "right" | "top"
bottom
margin
Partial<ChartMargin>
지정 안 함
maxRadius
number
20
renderNode
(props: ScatterNodeProps) => ReactNode
지정 안 함
showGrid
boolean
true
showLegend
boolean
false
showXAxis
boolean
true
showYAxis
boolean
true
sizeKey
string
지정 안 함