Template talk:COVID-19 pandemic data/United States/Florida medical cases chart

Latest comment: 4 years ago by Infinite mission in topic Residents or all

Sources

edit

Hi, I wanted to use Florida's official page to gather data for this, but it's just point-in-time, from what I can tell. So most of it is gathered from clickorlando. I'm missing the dates that deaths occurred, so my counts are low. That page also isn't 100% in line with the article, but without a canonical source I don't know how to best resolve that. If someone finds a good source of death dates (or cases by date for missing dates), I can add it to my local dataset and regenerate the chart rows. tedder (talk) 17:58, 26 March 2020 (UTC)Reply

I'm now using coronavirusapi with the first few days backfilled. I'm generating this using a script, so if there are any errors I can resolve them by backfilling or patching in an automated way. tedder (talk) 23:22, 26 March 2020 (UTC)Reply
Tedder It looks good, although there's a lot of wrapping on my machine (probably because of font size settings in my custom CSS). I would like to suggest that we omit the delta deaths column. I think it tends to clutter the chart. Readers can easily calculate this for themselves if they need to. Any object to removing it? - MrX 🖋 11:06, 27 March 2020 (UTC)Reply
Hey @MrX:, I tried a bunch of things, removing the column was the least ugly. Unfortunately even "# of deaths" being shortened to "deaths" wasn't enough for me to set "numwidth" to mmmn or mmtn as I'd prefer. Feel free to play with it and I'll add it back to my generator. tedder (talk) 18:54, 27 March 2020 (UTC)Reply
Excellent Tedder. That was an improvement. Thanks again for your work on this. - MrX 🖋 19:02, 27 March 2020 (UTC)Reply
No problem! I need to figure out which pages I'm updating with the bot versus the states I'm just leaving alone. OR and FL are my top picks right now. tedder (talk) 19:05, 27 March 2020 (UTC)Reply

Collapsible chart

edit

@Mr Xaero: you made the chart collapsible, showing only 15 days. I am opposed to showing such a small set of stats by default, but perhaps we can compromise and show the current month by default, and have buttons to show previous months and all data. What do you think? - MrX 🖋 16:58, 28 April 2020 (UTC)Reply

MrX, the chart is setup to default to 15 days and users can choose to show previous months by clicking the month that they want. By using a 15 day span, the article is not overwhelmed by a giant graph with in some cases four months of data. — Mr Xaero ☎️ 17:09, 28 April 2020 (UTC)Reply
To further clarify, as the pandemic carries on, timeline graphs such as this on will increase each day. If the graph is left in its full state where all dates are shown, this will increase the length of the article dramatically. If you reduce graph by using a default value, in this case 15 days, you can still see a trend over that period of time. By giving users options to select previous months of data, you can allow those who want to see the information the ability to do so. For those who only want to see the article or the last couple of weeks of numbers, you save them time and scrolling fatigue. For example, let's look at Mainland China's cases using the same medical cases chart, this graph is limited by default to 15 days but the data trends back to December. If you were to have China's graph expanded fully it that graph would add roughly 39.5 inches in length (at 72 ppi) to the article. By defaulting to 15 days the size is reduced to roughly 10 inches in length (at 72 ppi). Either way no data is lost but it sure does make the page aesthetically appealing by defaulting to a smaller value. — Mr Xaero ☎️ 21:22, 28 April 2020 (UTC)Reply
Sure, I understand that the chart would become unwieldy if we continue to show all data, but on the opposite extreme, 15 days is arbitrary and too short to adequately show a trend. It's not really meaningful to discuss the physical size of the chart which would vary significantly based on the display device. Do you oppose showing 30 days by default, or alternatively the previous month and the current month? - MrX 🖋 13:10, 29 April 2020 (UTC)Reply
MrX, the chart uses the Medical cases chart and within that template another template governs the amount of data that is shown. Since this chart template is used by numerous articles and pages, it does not appear that the last 30 days option is feasible in the current state. If you have concerns regarding the length of data, I would suggest that you bring it up on the talk page for that template. — Mr Xaero ☎️ 15:10, 29 April 2020 (UTC)Reply
Mr Xaero OK, I'm not completely on board, but I've withdrawn my opposition and restored the collapsible function. - MrX 🖋 15:41, 29 April 2020 (UTC)Reply

Residents or all

edit

The chart shows all positive cases, residents and non, but only resident deaths are shown. Infinite mission (talk) 15:23, 21 August 2020 (UTC)Reply