Skip to content
Plotly templates

Plotly — cohort retention heatmap

Heatmap of cohort retention across weeks.

Template previewPlotly
Rendering…

Make it your own.

{
  "data": [{
    "type": "heatmap",
    "z": [[100,68,55,48,42],[100,72,58,50,44],[100,74,63,55,49],[100,70,60,52,46]],
    "x": ["W0","W1","W2","W3","W4"],
    "y": ["Jan","Feb","Mar","Apr"],
    "colorscale": "Blues"
  }],
  "layout": {"title":"Cohort retention","xaxis":{"title":"Week"}}
}