StealThis .dev
Pages Hard

Streaming — Content Dashboard

A cinematic dark admin dashboard for the fictional Nebula streaming studio, built in HTML, CSS, and vanilla JS. Four KPI cards track active viewers, watch hours, retention, and churn with inline sparklines and trend badges. A full SVG viewership chart redraws on timeframe toggle and metric tabs with hover tooltips, beside a regional heat list, a sortable-feel top titles table, and an episode retention curve. Tapping any title slides in a drill drawer with per-title stats and a mini chart. No libraries, fully responsive.

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

Code

Content Dashboard

A dark-first analytics console for Nebula Studio, a fictional streaming service. The left rail carries the brand mark, primary navigation, and the signed-in analyst, while the main column opens on four KPI cards — active viewers, watch hours, retention, and churn — each with an inline SVG sparkline and an up/down delta badge that flips color correctly (a falling churn reads as positive). A timeframe pill group (7D / 30D / 90D / 12M) at the top redraws the whole dashboard, recomputing every figure, series, and bar.

The centerpiece is a hand-built SVG viewership chart with dashed gridlines, a gradient area fill, and interactive data dots that surface a positioned tooltip on hover or keyboard focus. Metric tabs swap the line between watch hours, viewers, and completion without touching the timeframe. Alongside it sit a regional heat list with animated share bars, a top titles table, and an episode retention curve that drifts with the selected range. Every number is generated from a seeded pseudo-random model so the data feels alive yet reproducible.

Selecting any row in the top titles table — by click or Enter/Space — slides in a focus-trapped drill drawer showing total views, watch hours, completion, and an average rating, plus a per-title mini chart. The drawer closes on Escape, scrim click, or the close button and returns focus to the originating row. Everything is vanilla JS with a shared toast() helper, real <button> controls with aria roles and visible focus rings, a layout that reflows from desktop down to ~360px, and motion disabled under prefers-reduced-motion.

Illustrative UI only — fictional titles, not a real streaming service.