How do I color an Area plot?

I have an area plot where I would like to use colors to make it very clear when

  • values are positive or negative
  • values are large (absolutely) or not.

How can I show positive values with green color and negative values with read color?
How can I use a colormap with the area chart to indicate large (absolute) values?


import numpy as np
import holoviews as hv
import panel as pn
xs = np.linspace(0, np.pi*4, 40)
area = hv.Area((xs, np.sin(xs)))