🌍 Public
Viewing a saved revision (read-only)
520ba273f8cf4707b0af12c86693c317
Fork of Humidity histogram
This example visualizes the distribution of humidity measurements from a 2016 weather dataset as a histogram. The chart displays twelve bins of humidity ranges on the x-axis, with the count of days in each bin represented by the height of blue bars. A dashed maroon line marks the mean humidity value. The visualization is built with React and D3 v5, using `d3.histogram()` to generate bins and `d3.scaleLinear()` to map data to SVG coordinates. The code also implements accessibility features, adding ARIA roles and labels to chart elements.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.