Back to library
Preview of d3-scale-cluster
GitHub

Data Visualization & Charts · D3 plugins

d3-scale-cluster

Scale that bins continuous data into discrete classes using k-means clustering rather than quantile or equal-interval breaks.

Why it’s a gem

Jenks-style natural breaks for choropleths, as a normal D3 scale

Visit github.com
Type
GitHub repository
License
MIT
Added
Aug 17, 2026

More from D3 plugins