USGS-R / wateRuse

Moved to: https://code.usgs.gov/water/water-use/wateruse
https://code.usgs.gov/water/water-use/wateruse
Creative Commons Zero v1.0 Universal
7 stars 11 forks source link

Boxplots-- notches and points #178

Open jshourds-usgs opened 7 years ago

jshourds-usgs commented 7 years ago

We (Gary, Rob, and I) noticed that the notched feature for the boxplots has disappeared. Was this on purpose? Can it be (easily) resurrected?

We were also wondering if it would be possible to have a toggle on/off button for the scatter points on the boxplot, giving the user the option of seeing the scattered points or not. Perhaps a user might want to see the points on the screen but maybe not download them as a png file for illustration purposes?

Thanks

ldecicco-USGS commented 7 years ago

It was briefly discussed here:

https://github.com/USGS-R/wateRuse/issues/162

You guys wanted a hover features that the plotly package could provide, but plotly will not do notches.

Personally, I've never been a fan of the notches, so I was happy to get rid of them. If your user-base is stuck on wanting notches (in my opinion, I don't think the data is refined enough to get much use for this feature)...then there would have to be some work to make a toggle that would go to the static, notched plots and vs. interactive ones. By overlaying the actual data points, you get the same (and more) information as the notch would provide.

jshourds-usgs commented 7 years ago

@ldecicco-USGS Ah Perfect, thanks, I think I missed that discussion. I'm fine without the notches too. It sounds like it would be some work to have a toggle to turn the points overlay on and off, like with the log scale toggle?

ldecicco-USGS commented 7 years ago

Creating a toggle for the points overlay probably wouldn't be too hard. Would probably be a good task for one of you guys to try.