gajus / gajus/interdependent-interactive-histograms

How to use for datasets with narrow range?

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
JavaScript
Stars
59
Forks
9
PR merge metrics
No merged PRs in 30d

Description

Hi, I'm trying to adapt this great tool to my needs. One thing this involves is making it less hard-coded to its inputs (number of inputs, data ranges etc.). I made some progress but think I hit problem I don't know how to solve.
If my data has a relatively narrow range (e.g. values from 0 to 10) then I don't think the current tool can handle this. Let's say we want about 50 bins, so each bin would be approx 0.2 wide. But the ay_histogram() function takes an option for the bin_width that is supposed to be an integer value and so can't be less than 1.
Is there a way to resolve this?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.