Black Lives Matter. Please consider donating to Black Girls Code today.

Difference chart with highlighted area

Is it possible to create with plotly js a difference chart (aka bivariate area chart), a line chart that includes two lines that are interlinked by filling the space between the lines, highlighting the differences between the lines by filling the area between them with different colors depending on which line is the greater value?
See examples at: https://bl.ocks.org/mbostock/3894205 or the middle chart at: https://matplotlib.org/2.0.1/examples/pylab_examples/fill_between_demo.html

image

Thanks.