I want create the histogram based on number of bins. But by using xbins.start, xbins.end and xbins.size I am not able to find out how many bins will be created based in the xbins.size. Can you please share me logic, so that I can have better understanding on it.
Here’s the relevant source file: https://github.com/plotly/plotly.js/blob/master/src/traces/histogram/calc.js
Let me know if you any questions.
I am still not clear with the logic that you are implementing. As you are some function which are not present in that file. As well as I am not able to debug the code.