Skip to main content
Public

Share visualization

Loading preview…

Rose Wind Plot

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Rose Wind Plot

9
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

Comments

Sign in to join the discussion.

MIT Licensed