โœฆ StealThis .dev
Pages Hard

Hotel Revenue / RevPAR Dashboard

A full-screen manager revenue dashboard with KPI band (Occupancy, ADR, RevPAR, Total Revenue), a CSS-only animated bar chart of daily revenue across the week, a revenue-by-segment table, top room-types table, and a date-range / property selector that recalculates all figures.

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

Code

Revenue / RevPAR Dashboard

A full-screen operations dashboard styled in the shared Aurelia navy-and-gold palette. A top bar carries property and date-range selectors; below it a four-card KPI band shows Occupancy %, ADR, RevPAR, and Total Revenue each with trend arrows. The main area holds a CSS-only bar chart (divs with animated height transitions) showing daily revenue or occupancy across the selected week, a revenue-by-segment breakdown (Corporate, Leisure, Groups, OTA, Direct) with percentage bars, and a top room-types performance table. Switching the date range or property smoothly recomputes all KPIs and redraws the chart bars with a transition animation. A segment toggle filters the chart between Revenue and Occupancy views.