question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Nightingale/Rose charts

See original GitHub issue
  • I have searched the issues of this repository and believe that this is not a duplicate. #1334 did cover this but was closed due to inactivity

What problem does this feature solve?

A Nightingale or Rose chart is a variant on a Pie chart. In a traditional Pie chart, the size of the angle changing relative to the value of the data point while the radius stays the same. In a Nightingale or Rose chart, the size of the angle stays the same but the radius changes relative to the value of the data point.

In recharts, this would equate to setting the “outer radius” of each Segment.

In chart.js this graph is called a Polar Area chart

What does the proposed API look like?

This could be achieved in many ways. Either with a new component usable instead of Pie in a PieChart, a new boolean property to Pie, or some way of allowing each Cell/Segment/data item to define its own outer radius (i.e. radiusKey or allowing Cell to take radius)

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
dillonreedycommented, Jan 19, 2021

@jscocozza so I added the 2nd and 3rd colored segment layers through using the innerRadius prop and a little calculation and the radial lines through using the <PolarGrid/> but yeah, look further into the labels for the radial and tick lines, it might be possible through <RadarChart/> or with a little calculation and the <Text/> component.

1reaction
dillonreedycommented, Jan 19, 2021

I feel there’s a way to modify what’s here to get to what you want: Edit recharts-pie-tooltips (forked)

You’ll have to explore labelling, I know the <RadarChart/> component has good radial lines labelling and good tick labelling. So I’d explore that a little further, and how to adapt what’s in the codesandbox to be used with the RadarCharts labels.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Nightingale Rose Chart - Learn about this chart and tools
Nightingale Rose Charts are drawn on a polar coordinate grid. Each category or interval in the data is divided into equal segments on...
Read more >
Florence Nightingale's Rose Diagram - History of Information
The graphic, which Nightingale used as a way to explain complex statistics simply, clearly, and persuasively, has become known as Nightingale's "Rose Diagram."....
Read more >
Story | Florence Nightingale's “Rose” Diagram - Maharam
Nightingale's unique contribution to the field of data visualization is something that has become known as her “coxcomb” or “rose” diagram (although she ......
Read more >
Nightingale's Rose Diagram · 37. At a Glance
She visualized this data using a polar area diagram, which is now known as the Nightingale Rose Diagram. While similar to William Playfair's...
Read more >
Nightingale Rose Chart | Chartopedia - AnyChart
Nightingale Rose Chart (also known as · Coxcomb Chart or · Polar Area Diagram) is a peculiar combination of the Radar Chart and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found