chad-m / head_tail_breaks_algorithm

Python and JavaScript code for the head/tail breaks algorithm, a classification scheme for data with a heavy-tailed distribution. It's works great for choropleth map coloring
16 stars 3 forks source link

head-tail breaks algorithm

Python function implementing the head-tail breaks algorithm, a classification scheme for data with a heavy-tailed distribution. It works well for choropleth map coloring and data classification. JavaScript code included for reference.

Original paper, see here >> http://arxiv.org/ftp/arxiv/papers/1209/1209.2801.pdf