ILINet Flu Surveillance Data
This visualization displays ILINet flu surveillance data from the CDC, plotting weekly observations since 2015. Each circle represents a state’s weekly report, with color encoding year, position encoding the selected field (such as ILI percentage or patient totals), and circle size encoding ILITOTAL patient counts, revealing seasonal flu spikes. A React dropdown menu lets users switch between data fields, which dynamically updates the Vega-Lite specification via vega-lite-api. The chart is rendered with Vega 5, Vega-Lite 4, and d3.csv for data loading, with tooltips provided by vega-tooltip.
AI-generated descriptionA visualization constructed using the vega-lite-api. Then use [React] to add a menu to choose different fields for visualization.
In this ILINet Flu Surveillance dataset, we have ILITOTAL to indicate the number of patients recorded by the network. The %UNWEIGHTED ILI is actually the ratio to total number of patients served. Clearly this value could be large if the base numbers are small. In the single plot, we show all data by the week of the year since 2015. Each data point represent a state on the same week, different color indicates different years. We also assigned the ILITOTAL number to the size channel, which maps the bigger size to larger number of patients. From the plot we can see that the big size mostly happens at the end of the year till at the beginning of the year, which is the flu season. Although the %ILI data indicates similar results, the size gives more sharper results. Also the points at the bottom of the weeks are all smaller, which allows us to visualize the bigger patients’ number more easily on the plot, it happens on both end of each week’s line because the data with smaller number of patient are generally ignorable.
See Data on Gist: ILINet Flu Surveillance Data
The original data comes from the CDC FluView Interactive