Black Lives Matter. Please consider donating to Black Girls Code today.
Learn how to use COVID-19 data in open source Dash apps. Register for the Sept 23rd webinar with IQT!

How to create relative stacked area/line chart

Trying to create a stacked area/line chart where the chart readjusts or recalculates when you hide/show one of the series. This is how the stacked bar charts work.

See https://github.com/plotly/plotly.js/issues/1217 for more info on the topic