mozilla / mdv2-prototype

Prototype for the Mozilla Measurement Dashboard Version 2
https://mozilla.github.io/mdv2-prototype/
Mozilla Public License 2.0
5 stars 8 forks source link

What to do with buckets with 0 (or near-0) samples? #72

Open chutten opened 6 years ago

chutten commented 6 years ago

In mdv1 we have the option (on by default) to trim buckets of histograms that have less than an arbitrary threshold of samples (0.01%)

Given how uint scalars like first_paint are auto-bucketed to "exponential, max: 10000, n_buckets: 100", we're probably going to need a similar mechanism (just look at how first_paint looks in mdv2's distribution view today).

I see a few tolerable options

1) Do nothing and let users zoom the plotly plots 2) Trim left and right buckets with 0 counts in them, without option 3) Set an arbitrary criteria as before and put in an option to turn it off

(the design discussion may happen in a google doc or elsewhere as is helpful. This issue is so I don't forget that this is a problem)