Scatter Chart
A scatter chart for how two measures relate, with optional dot size for a third.
When to use
- Use when
- How two measures relate, one dot per item, with dot size for a third.
- Avoid when
- Categories on one axis; use a Bar Chart.
Installation
The source lands in src/components/ui/chart-scatter.tsx, along with any Shelf items it builds on, and .shelf/lock.json records what was installed. It's yours to edit.
Usage
Built on
Verified
- Size
- 0.4 kB gzipped on its own, 86 kB with the Shelf items and packages it builds on. JS and CSS in a production build, without React.
- Accessibility
- Axe passes on 2 stories
- Behavior
- 1 interaction test in Storybook
- React Doctor
- React Doctor finds nothing