Responsive Half Pie Chart

In [48]:
%matplotlib inline
from verticapy.datasets import load_titanic

titanic = load_titanic()
titanic.hchart(x = "pclass", kind = "pie_half")
Out[48]:
In [ ]:
%load_ext verticapy.vCharts
In [49]:
%%vCharts -type pie_half
SELECT
    pclass,
    COUNT(*)
FROM titanic GROUP BY 1;
Execution: 0.172s
Out[49]: