Heatmap/Scatter Plot for discipline incidents by Day & Time #2242
Who is this PR for?
What problem does this PR fix?
CF #2147, educators would like to see both time and day information on incidents to see if patterns appear.
What does this PR do?
Adds a scatterplot type chart that shows incidents plotted against day and time that also allows users to zoom in on a cluster to see which students are involved.
Screenshot (if adding a client-side feature)
Which features or pages does this PR touch?
Does this PR use tests to help verify we can deploy these changes quickly and confidently?
@kevinrobinson here's a first pass at a "heatmap" for the discipline dashboards. RIght now zoom is done through a click and drag. That feels a little clunky but it's functional enough to introduce the idea.
I'm not sure what the data looks like in production. If there are so many incidents that it's difficult to distinguish clusters or patterns, we can try some other ways of displaying the incidents (bubbles, moving them apart horizontally, etc.) to improve matters.
@edavidsonsawyer This is awesome! Sorry on the delay here, work on the website has taken more time than I expected, and I've had a harder time switching between all the things last week and this week.
How's this sound for a plan?
If you want to talk more I could chat late tomorrow afternoon or morning or afternoon Friday too, or feel free to email if you want to talk this out more too, sorry for the late and long reply here :\
kevinrobinson left a comment
@edavidsonsawyer Awesome work!
I looked at some data here too, if you want to videochat and do that sometime later today or Thursday or Friday let me know, that might be helpful for some of the questions around design like colors.
I left some feedback on factoring, but those are more suggestions for the next iteration. I think let's try to ship this now and to do that the final pieces are things that will impact the legibility or interpretability of the data:
If it works for you, we could videochat and look at some data, and then brainstorm on these things and then ship this out! Let me know what works best for you.