Fork of ILINet Flu Surveillance Data
This example displays annual U.S. influenza-like-illness (ILI) total cases by week, with each year from 2015 to 2019 drawn as a separate colored line for direct year-over-year comparison. The visualization is built using the Vega-Lite API, which wraps vega-lite and vega, and relies on d3 for CSV data loading. It aggregates weekly ILITOTAL values by year, region, and week from CDC FluView data sourced via Gist, and encodes the year using an unordered color scale, which complicates interpretation since the year values are ordinal but the palette does not imply ordering.
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