Radar Circle
In radar plot we can add circles in it along with the value of each circle to get more information. Here's how to display circles and labels for radar plot:
import reverievis as rv
import seaborn as sns
df = sns.load_dataset('penguins')
species_mass = df[['species', 'bill_length_mm',
'bill_depth_mm', 'body_mass_g',
'flipper_length_mm']].groupby('species').mean().reset_index()
data_minmax = rv.get_minmax(df, columns=['bill_length_mm',
'bill_depth_mm', 'body_mass_g',
'flipper_length_mm'])
rv.radar(data=species_mass,
category='species',
data_minmax=data_minmax,
values=species_mass.columns[1:].to_list(),
show_circle=True,
show_label=True, circle = 7)
Last updated