Google 图表直方图的公式
Formula for Google Charts histogram
Google 图表使用什么公式来构建其直方图?例如,它是否使用斯特奇规则?多恩法则?斯科特的规则?等。是否有关于它如何构造默认 bin 大小、最小值和最大值的文档?
这是 Google 图表的 Histogram
页面的 link。
Google Charts automatically chooses the number of bins for you. All bins are equal width and have a height proportional to the number of data points in the bin. In other respects, histograms are similar to column charts.
检查 notes for the October 1, 2018 release 中的直方图部分。
Generate buckets using tick generation algorithm. Default number of buckets is computed using a new histogram.numBucketsRule
option. Possible values are 'sqrt'
, 'sturges'
, and 'rice'
. See Histogram: Number of bins and width
Google 图表使用什么公式来构建其直方图?例如,它是否使用斯特奇规则?多恩法则?斯科特的规则?等。是否有关于它如何构造默认 bin 大小、最小值和最大值的文档?
这是 Google 图表的 Histogram
页面的 link。
Google Charts automatically chooses the number of bins for you. All bins are equal width and have a height proportional to the number of data points in the bin. In other respects, histograms are similar to column charts.
检查 notes for the October 1, 2018 release 中的直方图部分。
Generate buckets using tick generation algorithm. Default number of buckets is computed using a new
histogram.numBucketsRule
option. Possible values are'sqrt'
,'sturges'
, and'rice'
. See Histogram: Number of bins and width