-
Notifications
You must be signed in to change notification settings - Fork 2
backfill profiling viz #931
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Preview link ready! Built with commit ee9f0a2 https://deploy-preview-931--cmu-delphi-covidcast.netlify.app |
now I understand what you meant, should be fixed. |
|
re descriptions (e.g. to clarify lag): https://docs.google.com/document/d/1x6Yfr4pZFexJc3vxei37CI4nCGKh04-yin6Ea0CWpYE/edit |
|
I like your idea of clamping the scale, maybe to 2 or 3? If the value changes day to day by a factor of more than 3, it probably doesn't matter by how much it changes. However I think the scale should be symmetric in the log domain: the equivalent of a bump up by a factor of 2 is a bump down by a factor of 2. If you clamp the bump up at 3, let's clamp the bump down at 1/3. For legibility, the tickmarks should probably be labeled in the original domain, namely something like (*1/3+ ,*1/2, -30%, -20%, -10%, NC, +10%, +20%, +30%, *2, *3+). I realize these are not exactly symmetric, and that the notation can be improved, but hopefully the gist is clear: we want to see small changes, which we usually think of as +/-X%, and we want to know when the changes become so big that they change the order of magnitude. |
In general, I'd like to move away from the concept of 'issue', and think only in terms of 'as-of'. Issues are a special case of as-of, when revisions to all locations are expected at regular intervals. Issues made sense when we started tracking well-regulated CDC web reports, but quickly stopped making sense when you get sporadic updates to sporadic locations. More importantly, the shift to as-of clarifies that there is an 'as-of' value for every signal and every location on every day, even if there was no update ("issue") released on that day. The as-of value is the most recently reported value up thru that day. So in your example above, if the requested anchor lag is 12, for ref=2021-01-02 the as-of value at lag 12 will be the same as its value at lag 11. |
re scale: the charting library has some limitations but I tried to achieve what you described: |
Looks good!
|
|
I switched to this color scale: https://github.com/d3/d3-scale-chromatic#interpolateRdBu and added the white = 0 as suggested. Those color scales are designed that the values around 0 have some neutral color, since small changes around 0 might be the result of numeric errors. |
I like this! Thank you! |
|
e.g. |
I would keep them in a white/missing color, since e.g., gives you a nice idea, when no issues were triggered, e.g. because of some outtake in the pipeline) |
|
@RoniRos this has been great feedback! I'd like to release these next week. We can always patch changes to the color maps later; do you have any dealbreakers that must be fixed before the first release? |
ping |
|
Sorry, I thought we communicated on this in another channels (comments on a googledoc?) Anyway, I agree we should release ASAP! My understanding was that the only release-blocking potential issue was the signal naming. Is it finalized (or at least finalized enough)? Is it waiting for me? |
|
I believe we are switching to the UI organization proposed in indicator-status-backfill-names before release. @sgratzl if you want to merge this as-is to unblock other work, then do the UI organization in a separate PR, that's fine. |
|
I prefer changing one thing at a time, so let's merge and alter it later |







based on #930
adds a new section to the indicator status overview page about the backfill profile of the selected indicator:
https://deploy-preview-931--cmu-delphi-covidcast.netlify.app/indicator-status/#change_b