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
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
htb.py

README.md

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