Fork of Interactive pie and bar
✓ Published0🌍 Public
This interactive dashboard combines a histogram with a pie chart and legend to explore categorical frequency data for different states. Hovering over a bar filters the pie chart and legend to display the distribution of low, mid, and high categories for that state, while moving the mouse away resets the view. Built with React and D3.js v3, it uses `d3.select` for SVG creation, `d3.scale.ordinal` with `rangeRoundBands` for the x-axis, `d3.scale.linear` for the y-axis, `d3.layout.pie` for the pie slices, and `d3.transition` for animated updates. The SVG elements also respond to mouseover and mouseout events, and the bar color changes to blue on hover.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.
MIT Licensed