Responsive Donut Chart

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

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