Responsive Bar Chart

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

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