Responsive Pie Chart

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

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