echarts-stat for java based on https://github.com/ecomfe/echarts-stat There are four kinds of threshold methods used to compute how much bins the histogram should be divided in echarts-stat but I have transfored only one of them : squareRoot