Interactive pie and bar
✓ Published0🌍 Public
This interactive dashboard combines a pie chart and a bar chart to explore COVID-19 case frequency data across Beijing districts by date range. Hovering over a bar updates the pie chart to show the district breakdown for that period, with smooth transitions between updates. Built with React and d3.v3, the example uses d3.svg.arc, d3.layout.pie, and d3.scale.ordinal to render SVG elements with mouseover-driven interactivity. The legend and pie chart adapt their data and colors dynamically, while the histogram bars respond with animated height changes via transition.attr.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.
MIT Licensed