Home > Software design >  How to calculate area of a radar chart in plotly/matplotlib?
How to calculate area of a radar chart in plotly/matplotlib?

Time:09-09

While attempting to create a radar chart with both matplotlib and plotly, I have been trying to figure out a way to calculate the area of each dataset as represented on the chart. This would help me holistically evaluate a dataset's effectiveness compared to the variables I have assigned by assigning a "score," which would be equivalent to the area of the radar chart.

For example, in the figure below there are two datasets plotted on the radar chart, each representing a different object being evaluated based on the criteria/characteristics in the axes. I want to calculate the total area being covered by the polygon to assign each a "total score" that would serve as another metric.

Two datasets on a radar chart - example from plotly documentation

Does anyone know how to do this?

CodePudding user response:

  • have used enter image description here

  • Related