Fork of ILINet Flu Surveillance Data
This line chart visualizes national influenza-like illness (ILI) totals per week, with curves for 2015–2019 overlaid to compare seasonal patterns year-over-year. An ordered color encoding for the year field makes newer years appear darker, aiding readability. The visualization uses the vega-lite-api to build a markLine with an hourly time unit on the x-axis and an amount field on the y-axis, while d3.csv loads the data from the CDC FluView Interactive source. The config customizes axis colors and label styling for improved contrast.
AI-generated descriptionThis variant of the original work by Yu Zhang demonstrates use of an ordered color encoding for an ordered field (year), which makes it easier to read the chart, because you can say "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