Skip to main content
100%

Fork of Humidity histogram

✓ Published0🌍 Public
Yyuli19991001
Last edited Nov 20, 2022
Created on Nov 17, 2022
Forked from Humidity histogram

This histogram visualizes the distribution of daily humidity levels from the my_weather_data.json dataset. The chart uses D3 v5’s `d3.histogram` and `d3.scaleLinear` to bin humidity values into four bars, with a dashed maroon line marking the mean. Bar heights and count labels are rendered as SVG rectangles and text, while the x-axis is generated with `d3.axisBottom`. The code also adds accessibility features via ARIA roles and labels on the SVG elements.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes