Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Humidity histogram

Public visualization

Viewing a saved revision (read-only)

49c168bd89224311a00e90da479be599

Fork of Humidity histogram

0 stars0🌍 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.