Skip to main content
100%

Rose Wind Plot

✓ Published9🌍 Public
SShuyu Zheng
Last edited Jan 12, 2021
Created on Jan 11, 2021
Forked from Customizing Axes

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 description

The original code comes from ssmaroju's Block Wind Rose Plot

MIT Licensed

Similar vizzes