Outbreaks by Month
This bar plot shows the total number of illness cases per month, with bars colored by the primary disease transmission mode, revealing that person-to-person spread dominates most months while foodborne transmission peaks in summer. The visualization is built with React and uses the vega-lite-api library alongside d3.v5, loading its CSV dataset from a Gist. The vega-lite specification encodes the month on the x-axis, summed illnesses on the y-axis, and primary mode as color, with a custom vega config adjusting axis labels and fonts.
AI-generated descriptionThis bar plot shows the number of outbreaks in different months as well as the distribution of differet types of disease in each month.
We can see from the plot that person-to-person takes up most in outbreaks during the year especially in winter. In summer, food almost takes the lead on proportion. We may conclude that person-to-person is the most common infection way.
The dataset comes from Gist