🌍 Public
Viewing a saved revision (read-only)
25bb6d8776ab4c5ab7c5760c3c37daff
Rose Wind Plot
This wind rose plot visualizes the frequency of wind speeds and directions across eight compass points, with color-coded stacked bars representing wind speed ranges (0–1, 1–2, ..., 6+). The circular chart uses an SVG rendering with a radial scale (`d3.scaleRadial`) and `d3.arc` to draw the concentric segments. The code loads data from a CSV file, constructs a stacked layout with `d3.stack`, and adds axis labels, a legend, and grid circles using `d3.axisLeft` and `d3.scaleLinear`.
AI-generated descriptionThe original code comes from ssmaroju's Block Wind Rose Plot