StealThis .dev
Pages Hard

Nonprofit — Donations Dashboard

A warm, human nonprofit admin dashboard for tracking fundraising. It surfaces four headline KPIs (total raised, recurring revenue, average gift, new donors), a redrawable donations-over-time area chart with hover tooltips, a recurring-versus-one-time donut split with live impact numbers, ranked top campaigns with drill-in filtering, a goal thermometer with leadership donor recognition, and a searchable recent-donations table that exports to CSV — all self-contained vanilla HTML, CSS, and JavaScript.

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

Code

Donations Dashboard

A fundraising overview for the fictional Brightwell Foundation, built in the warm, hopeful nonprofit style — a mission teal-green and donate-orange palette, a humane Fraunces serif for headings, and soft sand surfaces. The top row tracks four headline KPIs (total raised, recurring revenue, average gift, new donors) with period-over-period trend pills that count up smoothly whenever the data changes. Below sit a donations-over-time area chart with dotted gridlines and hover tooltips, and a recurring-versus-one-time donut whose center percentage and impact numbers (meals funded, relief kits) update in lockstep.

The dashboard is genuinely interactive. The 30D / 90D / 1Y timeframe toggle recomputes every KPI and redraws the chart by downsampling a seeded daily series, so longer ranges stay legible. Top campaigns are ranked with progress bars and gift counts; clicking one drills the recent-donations table down to that campaign and highlights the card, with a one-tap clear. The table supports debounced search across donor and campaign names, and an Export CSV button downloads exactly the rows currently in view. A goal thermometer and leadership-gift recognition list round out the transparency story, and a small toast helper confirms each action.

Everything is keyboard-usable, AA-contrast, and responsive down to roughly 360px, where the sidebar collapses to a horizontal strip and the grids stack. No frameworks, no build step — just three files.

Illustrative UI only — fictional organization, not a real charity or donation system.