Template talk:COVID-19 pandemic data/Utah medical cases by county/sandbox

This sandbox is testing out a way to narrow the row headers column by eliminating the repetitive writing out of the district name for each constituent county. The rows still sort as before, with the constituent counties below their parent district. Several ways of showing district membership are demonstrated. EphemeralErrata (talk) 05:19, 27 February 2022 (UTC)
 * For me, the district abbreviations make it harder to read since the abbreviations are unfamiliar, which becomes more difficult if not sorted by district/county. If you do abbreviate, you need to use the "abbr" template, which doesn't work on mobile due to the required hover action. Maybe add the same abbreviation next to its district as a reference?
 * Another option to free up horizontal space would be to combine the two "cases by ..." and two "deaths by ..." columns into "cases" and "deaths", which would also remove some sorting options. The table isn't too tall to begin with, so it might be fine.
 * It seems like there is too much going on in one table: health districts and counties, some of which share the same name. Another option might be to split it into two simplier tables, both of which can exist in this template. Jroberson108 (talk)
 * Just added a demo of using a footnote to indicate grouping. The "not reporting" footnotes could be consolidated or removed to reduce footnote overload. Your previous edit made it seem as if the sticky column is too wide on mobile, not that the whole table is too wide. Removing the district name from counties fixes that. The "cases/deaths by" columns are duplicated to avoid the appearance of double counting. Names aren't shared, it's just that some (more populous) counties are their own health district. EphemeralErrata (talk) 11:22, 27 February 2022 (UTC)
 * The issue on mobile was the text didn't wrap due to "nbsp", which took up most of mobile's portait screen. If I recall, it was only showing two columns of data next to it. With wrap, it now shows four columns next to it. Usually, you want the text to wrap naturally for responsiveness, which includes the other tables. Jroberson108 (talk) 11:36, 27 February 2022 (UTC)