Entracte (TypeScript)
    Preparing search index...

    Function heatmapLevel

    • Map a day's count to a 5-level shade (0–4) for the heatmap cell's data-level. CSS picks the actual colours per level.

      Parameters

      • count: number
      • max: number

      Returns number