Skip to main content
100%

Fork of Rose Wind Plot

✓ Published0🌍 Public
Yyingzhe-z
Last edited Mar 26, 2021
Created on Mar 26, 2021
Forked from Rose Wind Plot

This example visualizes wind speed and direction as a radial stacked bar chart, or wind rose, with each of the 16 compass directions represented by an angular segment. The colored bars show the proportional distribution of wind speeds across eight magnitude bins, while circular gridlines and axis ticks indicate the scale. The visualization is built with D3 v6, using `d3.stack` to structure the data, `d3.arc` to generate the SVG paths, and a custom `scaleRadial` implementation from d3-scale-radial.js for the radial axis. Data is loaded from a CSV file specifying wind frequency per direction and speed class.

AI-generated description

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

MIT Licensed

Similar vizzes