StealThis .dev
Pages Hard

Coworking — Occupancy Dashboard

A warm industrial occupancy and utilization dashboard for a fictional coworking studio. It surfaces live KPIs for occupancy, desk utilization, peak hours and checked-in members, an interactive occupancy-over-day line chart with hover tooltips, a zone-by-hour heatmap with drill-in detail, and a list of underused resources flagged for review. A timeframe toggle reflows every number, the curve and the heatmap between today, week and month views.

Open in Lab
html css vanilla-js
Targets: JS HTML

Code

Occupancy Dashboard

A space-manager’s home screen for Loftworks, a fictional coworking studio. The header carries the venue, an avatar and a pill-style timeframe toggle. Four KPI cards animate their values on load and on change — occupancy with a fill bar, desk utilization in plant green, the peak hour with a tiny sparkline, and checked-in members shown as a stack of overlapping avatars. Each card pairs a value with a coloured trend chip so the direction of travel reads at a glance.

Below, an SVG occupancy-over-day chart draws its line with a stroke animation and fills a soft amber gradient beneath it; hovering or keyboard-focusing any point reveals a tooltip with the exact seat count and percentage against capacity. To the right, an “underused this week” list ranks the quietest resources, each flagged for review on click. The centrepiece is a zone × hour heatmap whose cells warm from concrete through amber to danger red; hovering a cell shows seats-in-use, and clicking a cell or its zone label drills into a four-stat breakdown of capacity, average occupancy, peak and quietest hour.

Everything is deterministic and self-contained: the timeframe toggle reseeds the data so today, week and month each tell a consistent, believable story, with a toast confirming each interaction. The layout collapses the sidebar to a top bar and stacks the cards down to roughly 360px wide, and all controls are keyboard-usable with aria labels.

Illustrative UI only — fictional coworking space, not a real booking system.