Line to Stacked Area Chart with Svelte Transitions
This chart transitions from a conventional multi-line chart to a stacked area chart, using Svelte transitions. LayerCake and D3 add ballast to the foundations. The y axis can be switched from fixed to dynamic.
Check out a working demo here.