Covid-19 County Pandemic Stages
A line chart displays the average pandemic stage across U.S. states, with each colored line representing a year from 2015 to 2019. The visualization ranks states along the y-axis against their averaged stage value on the x-axis, enabling year-over-year comparison. Built with the vega-lite-api and D3 v5, it pulls county population data from a GitHub repository and renders using Vega-Lite’s markLine and aggregate transforms. The dataset originates from CDC FluView Interactive, and the chart’s multi-hued encoding may obscure ordinal year-based patterns for readers.
AI-generated descriptionThis variant of the original work by Yu Zhang demonstrates improper use of an unordered color encoding for an ordered field (year), which makes it more difficult to read the chart, because you can't say anything like "darker is more recent".
A visualization constructed using the vega-lite-api.
This graph shows the national ILI total cases annually. The curves from 2015 to 2019 to the present date are displayed. This plot achieves the visualization of the annual ILI total patterns in general, and also provide a direct comparison year-over-year. We can tell 2018 is the year with highest Flu cases in mid February time, while 2019 has a more stretched Flu season comparing to other years.
When interations are introduced for the visualization together with Choropleths Map, we can select the individual yearly curve and present the map for that given year. We can also select a region or state and present a different portion of the dataset here to see more localized patterns.
See Data on Gist: ILINet Flu Surveillance Data
The original data comes from the CDC FluView Interactive