Skip to content
Plotly templates

Chemistry — Boyle's Law

Pressure inversely proportional to volume.

Template previewPlotly
Rendering…

Make it your own.

{
  "data": [
    {"type":"scatter","mode":"lines+markers","name":"P-V","line":{"color":"#9333ea","width":3},
     "x":[1,2,3,4,5,6,8,10,12],
     "y":[120,60,40,30,24,20,15,12,10]}
  ],
  "layout": {"title":"Boyle's law: P against V","xaxis":{"title":"volume V"},"yaxis":{"title":"pressure P"}}
}