Availability Heatmap

A read-only, CSS-only color-intensity grid — here, “when am I usually free” over the last four weeks (darker = more free). It pairs naturally above the selectable slot grid: same day-column model, but this one is an overview, not a control. No JavaScript.

Typical free time by day
Percentage of the day free, by week and weekday
Week MonTueWed ThuFriSat Sun
Apr 2860%30%80%40%20%90%100%
May 550%70%30%60%10%80%90%
May 1240%20%50%30%0%70%100%
May 1970%60%40%80%30%100%90%

Markup

<!-- --casca-heatmap-cols sets the grid width; each cell's --value (0..1)
     drives its colour intensity. colheads are optional. -->
<div class="casca-heatmap" aria-hidden="true" style="--casca-heatmap-cols: 7">
  <span class="casca-heatmap-colhead">Mon</span> <!-- ...one per column... -->

  <div class="casca-heatmap-cell" style="--value: 0.6" title="Mon — 60%"></div>
  <div class="casca-heatmap-cell" style="--value: 0.3" title="Tue — 30%"></div>
  <!-- ...one .casca-heatmap-cell per data point... -->
</div>

Correlation matrix

The same primitive as a symmetric variable×variable grid: cell intensity is the correlation strength (0–1), the diagonal is 1.0. Set --casca-heatmap-cols to N+1 so the first column holds the row labels.

Product metric correlations
Correlation strength (0–1; diagonal = 1.0)
PriceRatingReviewsSalesReturns
Price1.00.20.10.70.3
Rating0.21.00.80.60.5
Reviews0.10.81.00.50.2
Sales0.70.60.51.00.4
Returns0.30.50.20.41.0