Interactive pie and bar
✓ Published3🌍 Public
An interactive dashboard combines a histogram and pie chart to explore COVID-19 case frequencies across Beijing districts over time. The bar chart displays weekly total cases, while hovering over a bar updates the pie chart to show the district breakdown for that week. The visualization uses D3 v3 with SVG rendering and transitions, updating both charts dynamically via mouseover and mouseout events. Data is loaded from a JSON file, with the pie chart segmented by district categories (朝阳, 海淀, 西城, etc.) and the histogram using ordinal and linear scales for axes.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.
MIT Licensed