Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Rose Wind Plot

Public visualization

Viewing a saved revision (read-only)

c920113976684d568eaf5b43ec510872

Fork of Rose Wind Plot

0 stars0🌍 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