d3 time series heatmap
✓ Published1🌍 Public
This example visualizes yearly infection counts for U.S. states from 1970 to 1980 as a time series heatmap, where each cell’s color intensity reflects the number of infections. The chart uses a sequential color scale based on ColorBrewer’s OrRd palette, with a legend generated via the d3-legend plugin. Rendered as SVG, the heatmap positions state labels on the y-axis and years on the x-axis, while a custom tooltip displays state, year, and infection count on hover. The data is loaded from a CSV file using d3.csv.
AI-generated descriptionA time series heatmap in D3 using colorscale from colorbrewer and legend from Susie Lu
BTW: The data was simplified to help with creating this visualization.
Link to original dataset: https://corgis-edu.github.io/corgis/csv/health/
MIT Licensed