bloxa

Scatter Chart

FREE

Dots on two numeric axes with bubble sizes and colored groups.

Installation

Terminal
npx @bloxa/cli add scatter-chart
# or: npx shadcn@latest add @bloxa/scatter-chart

Packages installed automatically: motion

Examples

Bubble chart

Dot size is population; colors are regions. Hide groups from the legend.

API reference

Every component also accepts the props of the element it renders.

ScatterChart

PropTypeDefaultDescription
x / ystring—Numeric axis keys.
sizestring—Dot size key (bubble).
categorystring—Colored group key.
labelstring—Name key for the tooltip.
xLabel / yLabelstring—Axis titles.
xFormatter / yFormatter(value) => string—Axis formats.