This is an awesome visualization. I really love the annotations and the available interactions, and have been sending this to people as an example of a thoughtful visualization. It looks like maybe you moved on to the national version and this one is not being updated anymore. Would you consider tweaking it so that the annotations are still visible? I think that the x scale just needs to be changed, e.g.,
.domain([new Date("2020-02-17T12:00-08:00"), new Date()])
becomes
.domain([new Date("2020-02-17T12:00-08:00"), d3.max(data, d => d.Date)]).
Thanks!
Thank you for the very nice comment. I've just incorporated your suggestion (thanks also for providing the code snippet).
I have indeed stopped updating this chart; I was scraping the data for it from doh.wa.gov using some scripts but in early April they changed their reporting format and transcribing each day's data manually quickly became too painful. I see now that they've gone back to providing scrapable HTML tables in addition to the pretty but machine-unfriendly graphics; and there's also a weekly summary report in XLSX format.
Anyway, I appreciate your nice feedback and bug-fix suggestion a lot; thanks.
COVID-19 in Washington state | Jake Low | Observable