Skip to main content
Public

Share visualization

Loading preview…

Fork of 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

Fork of Rose Wind Plot

1
Yyingzhe-z
Last edited Apr 4, 2021
Created on Apr 4, 2021
Forked from Rose Wind Plot

This example presents a radial bar chart, or "rose plot," that visualizes global sales data for various gaming platforms. The chart uses a circular layout with bars extending outward from a central point, with each bar representing a different platform. The visualization is built using D3.js version 6, employing `d3.scaleLinear`, `d3.scaleBand`, and `d3.arc` to construct the wedges, alongside a custom `scaleRadial` function for the radial axis. Data is loaded from a CSV file, and the resulting SVG includes circular gridlines and labels positioned around the perimeter. The plot's angle and radius scales are computed using D3's linear scale, with `d3.stack` handling the data series.

AI-generated description

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

Comments

Sign in to join the discussion.

MIT Licensed