Timeseries
This timeseries line chart displays the monthly frequency of illnesses, hospitalizations, and deaths from a national outbreak dataset (National Outbreak Public Data Tool). The visualization reveals clear seasonality, with peak outbreak activity in winter and lowest counts in summer. Three overlaid lines use the Vega-Lite API, with data loaded and time-formatted via d3.csv and manual date concatenation. Hovering over any point triggers a tooltip showing the sum of that metric for the corresponding month. The chart is rendered as an SVG, with axes configured through a custom readme and config.js.
AI-generated descriptionTask:1. Does the outbreak have the seasonality? Which months have highest frequency?
Answer: Yes, it does. The outbreak has high frequency in winter and reaches the bottom in summer.
Description of experience:
This time-series line plot shows the number of Illnessses, Hospitalizations and Deaths. At first I cleaned the data by concatenating "Year" and "Month" as timestamp. Second, I set layers in VegaLite API to draw multiple lines. And then modified them to make it better.
Interaction:
When mouse moves to the line, it will show the corresponding value at the point.