Skip to main content
100%

Fork of Rose Wind Plot

✓ Published0🌍 Public
AAndres de la Garza
Last edited Feb 28, 2021
Created on Feb 28, 2021
Forked from Rose Wind Plot

A radial wind rose chart displays wind speed and direction data from a CSV file, using a circular layout where each of the compass directions forms a segment whose length corresponds to wind speed. The chart uses stacked bars colored by speed range from blue to red, with the data loaded via `d3.csv`. The implementation combines D3's `scaleLinear`, `scaleBand`, and `scaleOrdinal` with a custom `radial` scale function that applies a square-root transformation to map linear data onto a circular radius. Angular axes and concentric circular gridlines are generated using `axisLeft` with a transformed radius scale, while the chart is rendered as SVG.

AI-generated description

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

MIT Licensed

Similar vizzes