Scatter + Regression
Scatter plot with trend line, R-squared value, and confidence interval overlay.
Code
import { ScatterChart } from "@chartts/react"
<ScatterChart
data={measurements}
x="height"
y="weight"
trendLine
className="h-96"
/>Scatter plot with trend line, R-squared value, and confidence interval overlay.
import { ScatterChart } from "@chartts/react"
<ScatterChart
data={measurements}
x="height"
y="weight"
trendLine
className="h-96"
/>