6.3.3 Radar Chart
Last updated
Last updated
Radar charts are a useful way to display multivariate observations with an arbitrary number of variables. Each star represents a single observation. Typically, radar charts are generated in a multi-plot format with many stars on each page, and each star representing one observation.
The data length of a spoke is proportional to the magnitude of the variable for the data point relative to the maximum magnitude of the variable across all data points.
A line is drawn connecting the data values for each spoke. This gives the plot a star-like appearance and the origin of one of the popular names for this plot. The star plot can be used to answer the following questions:
Which observations are most similar, i.e., are there clusters of observations?
Are there outliers?
We use line_close=True
for closed lines.
For a filled line in a Radar Chart, update the figure created with px.line_polar
with fig.update_traces
.
Let's try to reproduce this graph by drawing multiple traces of the radar chart.