A funnel chart helps you visualize a linear process that has sequential connected stages. Each funnel stage (that is a horizontal bar) can be used to represent a percentage of the total, or the effective number for that stage.
Copy order : int
names : str
values : str
data : Union [ str , DataFrame , List [ Dict ]]
Copy title : Optional [ str ]
rows_size : Optional [ int ]
cols_size : Optional [ int ]
padding : Optional [ List [ int ]]
option_modifications : Optional [ Dict ]
Video demonstration of the Funnel chart
The Funnel chart setting and usage.
Copy data = [
{
"value" : 60 ,
"name" : "Third"
},
{
"value" : 40 ,
"name" : "Fourth"
},
{
"value" : 20 ,
"name" : "Fifth"
},
{
"value" : 80 ,
"name" : "Second"
},
{
"value" : 100 ,
"name" : "First"
}
]
s . plt . funnel (
data = data, names = 'name' , values = 'value' , order = 0 ,
)
2. Customization And Context
Copy data = [
{
"value" : 50 ,
"name" : "Clicked"
},
{
"value" : 30 ,
"name" : "Analysis"
},
{
"value" : 60 ,
"name" : "Negotiations"
},
{
"value" : 90 ,
"name" : "Viewed"
},
{
"value" : 100 ,
"name" : "Prospected"
},
{
"value" : 10 ,
"name" : "Closed Sales"
},
]
s . plt . funnel (
data = data, order = 0 ,
names = 'name' , values = 'value' ,
rows_size = 2 , cols_size = 7 ,
padding = '0,0,0,2' , title = 'Stage' ,
)