ILINet Flu Surveillance Data Interactive Visualization
This interactive visualization presents the CDC's ILINet flu surveillance data across four coordinated panels. A line chart displays national weekly trends for selected metrics like ILI percentage, while a choropleth map using `d3.geoPath` and `d3.geoAlbersUsa` shows the geographical distribution of average values per state. A bar chart ranks the top N states, and a final line chart highlights the yearly patterns for those selected states. Built with React and D3 v5, the code uses `d3.scaleLinear`, `d3.scaleOrdinal`, and custom SVG marks to enable linked highlighting and filtering across all views.
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.