e-mission / em-public-dashboard

A simple and stupid public dashboard prototype.
BSD 3-Clause "New" or "Revised" License
0 stars 23 forks source link

Modified e-bike proportion plots #46

Closed shankari closed 2 years ago

shankari commented 2 years ago

@zackAemmer made some changes in https://github.com/e-mission/em-public-dashboard/pull/45

However, the graphs for the user metrics were grouped by the "week" from the datetime, which was problematic for programs that have already run for over a year. In fact, the most interesting graphs are likely to be year-over-year comparisons, and these would be elided completely by this grouping.

I rewrote to plot by datetime instead, grouping by frequency = Month. But the plots still not look visually appealing, either as bar or as line graphs.

Image Image

Finally, rewrote as subgraphs which seem to work better for our needs

Image

shankari commented 2 years ago

Also had them show up in the frontend

Screen Shot 2022-07-24 at 8 48 40 AM
shankari commented 2 years ago

This fixes https://github.com/e-mission/e-mission-docs/issues/757