Radar charts (also known as spider charts, polar charts, web charts, or star plots) are a way to visualize multivariate data. They are used to plot one or more groups of values over multiple common variables .
Copy order : int
names : str
data : Union [ str , DataFrame , List [ Dict ]]
Copy values : Optional [ List [ str ]]
max_field : Optional [ str ]
fill_area : bool
title : Optional [ str ]
rows_size : Optional [ int ]
cols_size : Optional [ int ]
padding : Optional [ List [ int ]]
option_modifications : Optional [ Dict ]
Copy data = [
{ 'name' : 'Matcha Latte' , 'value1' : 78 , 'value2' : 6 , 'value3' : 85 },
{ 'name' : 'Milk Tea' , 'value1' : 17 , 'value2' : 20 , 'value3' : 63 },
{ 'name' : 'Cheese Cocoa' , 'value1' : 57 , 'value2' : 10 , 'value3' : 95 },
{ 'name' : 'Walnut Brownie' , 'value1' : 35 , 'value2' : 71 , 'value3' : 16 },
]
s . plt . radar (
data = data, names = 'name' ,
order = 0 , rows_size = 2 , cols_size = 12 ,
)
2. Customization And Context
Copy data = [
{ 'name' : 'Matcha Latte' , 'value1' : 78 , 'value2' : 6 , 'value3' : 85 , 'value 4' : 25 },
{ 'name' : 'Milk Tea' , 'value1' : 17 , 'value2' : 10 , 'value3' : 63 , 'value 4' : 35 },
{ 'name' : 'Cheese Cocoa' , 'value1' : 38 , 'value2' : 15 , 'value3' : 65 , 'value 4' : 45 },
{ 'name' : 'Walnut Brownie' , 'value1' : 9 , 'value2' : 71 , 'value3' : 16 , 'value 4' : 40 },
]
s . plt . radar (
data = data, names = 'name' ,
order = 0 , rows_size = 3 , cols_size = 8 , fill_area = True ,
padding = "0,0,0,1" , title = 'Index for preferred dessert' ,
)