Funnel chart
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.
The Method To Use
The method is s.plt.funnel()
It must contain the following input variables:
order: int
names: str
values: str
data: Union[str, DataFrame, List[Dict]]
And accepts the following input variables as optional:
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.
Examples
1. Default Configuration
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
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',
)

padding='0,0,0,2',
and its size with cols_size=7.
Featured Content
Changing the Menu Path
The menu_path
can be modified.
It is possible to use any number of rows.
Last updated
Was this helpful?