Skip to content
Vega-Lite templates

PCR Thermal Cycling

Temperature profile across PCR cycles — denature / anneal / extend.

Template previewVega-Lite
Rendering…

Make it your own.

{
  "$schema":"https://vega.github.io/schema/vega-lite/v5.json",
  "data":{"values":[
    {"t":0,"T":25},{"t":1,"T":95},{"t":3,"T":95},
    {"t":3.5,"T":55},{"t":5,"T":55},
    {"t":5.5,"T":72},{"t":7,"T":72},
    {"t":7.5,"T":95},{"t":9,"T":95},
    {"t":9.5,"T":55},{"t":11,"T":55},
    {"t":11.5,"T":72},{"t":13,"T":72},
    {"t":13.5,"T":95},{"t":15,"T":95},
    {"t":15.5,"T":55},{"t":17,"T":55},
    {"t":17.5,"T":72},{"t":19,"T":72}
  ]},
  "mark":{"type":"line","interpolate":"step-after","color":"#dc2626","strokeWidth":2.5},
  "encoding":{
    "x":{"field":"t","type":"quantitative","title":"Time (min)"},
    "y":{"field":"T","type":"quantitative","title":"Temperature (°C)","scale":{"domain":[20,100]}}
  },
  "width":520,"height":260
}