Stacked Area Chart

In [68]:
from verticapy import *

world_pop = tablesample({"date": [1900, 1950, 2000],
                         "Asia": [947, 1402, 3634],
                         "Africa": [133, 221, 767],
                         "Europe": [408, 547, 729], 
                         "America": [156, 339, 818],
                         "Oceania": [6, 13, 30],}).to_vdf()
world_pop.stacked_area(ts = "date",
                       columns = ["Asia", "Africa", "Europe"],
                       color = ["#0073E7", "#FE5016", "#263133",])
Out[68]:
<AxesSubplot:xlabel='"date"'>