Open BootstrapJen opened 5 years ago
[https://code.pyret.org/editor#share=1ZQNHjN3Nmkz8gRPLkgveY7YMvTdOux3z&v=bf92f5e](Link to Animals dataset where I attempted histogram
)
There's nothing we can do for this one. It's a bug in Google Charts, and it's likely that the bug won't be fixed soon.
Here's a minimal program (in the level of Google Charts) that this bug is triggered.
The histogram function only seems to work for certain bin sizes, like 1, 2, 5, 10 but doesn't work for other numbers, such as 3, 4, 6, or 7. The wrong bin size is used despite the parameter I give it.
For example, the code
histogram(animals-table, "weeks", 4)
gives me a graph with a bin size of 2.5.