Biology — Plot: Predator–Prey Cycles
Out-of-phase oscillations of predator and prey populations.
Rendering…
Make it your own.
{
"data": [
{"type":"scatter","mode":"lines","name":"prey","line":{"color":"#16a34a","width":3},
"x":[0,1,2,3,4,5,6,7,8,9,10],
"y":[100,150,200,150,80,60,90,150,200,140,80]},
{"type":"scatter","mode":"lines","name":"predator","line":{"color":"#dc2626","width":3},
"x":[0,1,2,3,4,5,6,7,8,9,10],
"y":[20,25,40,60,55,35,22,25,40,58,52]}
],
"layout": {"title":"Predator-prey dynamics","xaxis":{"title":"time"},"yaxis":{"title":"population"}}
}