VEuPathDB / EdaSubsettingService

A REST service to provide data and subsetting in the Exploratory Data Analysis Workspace
Apache License 2.0
0 stars 0 forks source link

Bin widths should be recalculated based on data range selected #71

Open danicahelb opened 2 years ago

danicahelb commented 2 years ago

Issue identified by David in: https://redmine.apidb.org/issues/47928

When a user chooses to only look at a specific data range, it would help if the bin widths were recalculated to make sense for the indicated data range.

In david's example from UMSP, he only wanted to look at Ages 0-15 years and was confused that the browse & subset histogram x-axis ranged to 17.65:

image

This is because the bin width (of 3.53) was determined based on the entire data range.

It would help if the bin width was recalculated to be more relevant, based on the data range selected by the user

For example, bin width = 1

image

this should be handled on browse & subset tab and viz tab histograms in the same way

dmfalke commented 2 years ago

I'm moving this to EdaSubsettingService because addressing this issue will require changes there.