ILINet Flu Surveillance Data Interactive Visualization
This interactive visualization explores CDC ILINet flu surveillance data through four coordinated panels: a line chart showing weekly patient visit patterns across years, a choropleth map of state-level influenza activity, a bar chart ranking the top states, and a multi-line chart tracking those top states over time. Built with React and D3 v5, the visualization uses d3.scaleOrdinal for categorical coloring, d3.geoAlbersUsa and d3.geoPath for the map projection, and d3.line with curveCardinal for smoothed trend lines. Users can filter by year and metric through dropdown menus, and hover or click to highlight selections across panels. The data is loaded as CSV and aggregated using custom React hooks with d3.csv.
AI-generated descriptionThis project use D3.js and React to display an interactive four-panel view for visualization. The Data used is the ILINet Flu Surveillance Dataset from ILINet Flu Surveillance Report. The original data is downloaded from the webpage: CDC FluView Interactive.
Four Panel View The visualization is composed of 4 panels.
- The first line plot displays annual average patient visits percentage or other values from the dataset on weekly bases. It demonstrates the pattern for different years.
- The second plot is a choropleths map shows the geographical distribution over the US including Alaska and Hawaii.
- The third plot is a bar chart shows the top 10 or N states. It gives the user more quantitative information and a list of top states by name.
- The fourth plot to show the yearly trending pattern of these states using a colorful line chart, using the same color scheme used by bar chart for different states.