outbreak-info / outbreak.info

During outbreaks of emerging diseases such as COVID-19, efficiently collecting, sharing, and integrating data is critical to scientific research. outbreak.info is a resource to aggregate all this information into a single location.
https://outbreak.info/
GNU General Public License v3.0
33 stars 13 forks source link

update: 2-vis-cleanup tasks #587

Closed olekkorob closed 1 year ago

olekkorob commented 1 year ago
flaneuse commented 1 year ago

@olekkorob: a few changes (sorry, I forgot to add these to the GH issue)

  1. on /regions, add a loading spinner when you change the select box on the top and bottom plots (example: change from "Daily worldwide COVID-19 cases" to "deaths")

    Screenshot 2022-11-28 at 7 39 38 PM
  2. 571 looks good, but it would be good to change the xmin and xmax parameter in the route, so that 1) the routes can be shared; 2) the plots below also update.

    • Relatedly, if you zoom in manually on the plot right now, the edges of the stream graph are funky since you're not recomputing the stream. For performance, this might be most easily solved with an SVG clipping mask. Let me know if you want to discuss further Screenshot 2022-11-28 at 7 52 03 PM

top 10: the width of the BQ.1.1 bar = 163.8670177466658 px. When you switch to all lineages, it changes to 143.2341603981887 px.

Screenshot 2022-11-28 at 8 12 05 PM
flaneuse commented 1 year ago

closes https://github.com/outbreak-info/outbreak.info/issues/561, https://github.com/outbreak-info/outbreak.info/issues/562, https://github.com/outbreak-info/outbreak.info/issues/567, https://github.com/outbreak-info/outbreak.info/issues/571, https://github.com/outbreak-info/outbreak.info/issues/572, https://github.com/outbreak-info/outbreak.info/issues/573