Responsive Range Plot

In [8]:
%matplotlib inline
from verticapy.datasets import load_amazon

amazon = load_amazon()

amazon.search("YEAR(date) = 1999").hchart(x = "date", 
                                          y = ["AVG(number)", "MIN(number)", "MAX(number)"], 
                                          kind = "area_range")
Out[8]:
In [3]:
%load_ext verticapy.vCharts
In [11]:
%%vCharts -type area_range
SELECT 
    date,
    AVG(number),
    MIN(number),
    MAX(number)
FROM amazon WHERE YEAR(date) = 1999 GROUP BY 1;
Execution: 0.161s
Out[11]: