Limiting axis to exclude outliers

19 views
Skip to first unread message

Damien74

unread,
Jan 26, 2018, 6:30:17 AM1/26/18
to Google Visualization API
Would like to see an option on the "pretty" option for axis minimums and maximums to exclude outliers.

Maybe it could be something like the number of standard deviations - for example if I set it to 3 standard deviations then:
* The max value on the axis = lesser of the maximum value and the average + 3 standard deviations.
* The min value on the axis = greater of the minimum value and the average - 3 standard deviations.


Daniel LaLiberte

unread,
Jan 26, 2018, 9:30:33 AM1/26/18
to Google Visualization API
Hi Damien,

I like the idea of your suggestion. This is related to the minValue and maxValue options we have now, but those options merely expand the axis range as if you were providing a couple more data values.  As such, they are not very useful, and it would have been better to define them as your options would be.  The other related options are the viewWindow min and max, which specify the exact value of the min or max end of the viewWindow, regardless which viewWindowMode you use.  

Your outlier exclusion options would also help implement another idea I have been pursuing: using the axis tick generation to compute histogram buckets, to replace our current approach.  The histogram buckets can optionally exclude outliers with the 'lastBucketPercientile' option, but the bucket boundary values should otherwise be computed just like tick values.


--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualization-api+unsub...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/59823648-1aae-4a1b-ab7f-d09f275f7bdf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Reply all
Reply to author
Forward
0 new messages