Skip to content
Plotly templates

Math — Plot: Exponential Growth & Decay

Comparing exponential growth and decay curves.

Template previewPlotly
Rendering…

Make it your own.

{
  "data": [
    {"type":"scatter","mode":"lines","name":"growth e^0.5x","line":{"color":"#16a34a","width":3},
     "x":[0,1,2,3,4,5],"y":[1,1.65,2.72,4.48,7.39,12.18]},
    {"type":"scatter","mode":"lines","name":"decay e^-0.5x","line":{"color":"#dc2626","width":3},
     "x":[0,1,2,3,4,5],"y":[1,0.61,0.37,0.22,0.14,0.08]}
  ],
  "layout": {"title":"Exponential growth and decay","xaxis":{"title":"x"},"yaxis":{"title":"y"}}
}