Skip to content
HTML Templates For Developers

Documentation

Pulse — Web Analytics Dashboard

Version 1.0.0 · Vanilla HTML · 16 files · 209 KB

Back to the template

Getting started

  1. Unzip the download and open index.html in a browser. No server, installation or build step is needed.
  2. Edit the text directly in the HTML files.
  3. Change colours, fonts and spacing through the CSS custom properties at the top of assets/css/style.css.
  4. Replace the artwork in assets/images/ with your own images.
  5. Upload the whole folder to any static host.

File structure

The download contains these 16 files:

  • LICENSE.txt1.9 KB
  • README.md3.0 KB
  • assets/css/style.css19 KB
  • assets/fonts/jetbrains-mono-LICENSE.txt4.4 KB
  • assets/fonts/jetbrains-mono-latin-wght-italic.woff242 KB
  • assets/fonts/jetbrains-mono-latin-wght-normal.woff239 KB
  • assets/fonts/space-grotesk-LICENSE.txt4.3 KB
  • assets/fonts/space-grotesk-latin-wght-normal.woff222 KB
  • assets/images/favicon.svg315 B
  • assets/js/main.js26 KB
  • assets/vendor/chartjs/LICENSE.txt1.1 KB
  • assets/vendor/chartjs/chart.umd.min.js205 KB
  • documentation/index.html12 KB
  • documentation/licenses/lucide-LICENSE.txt3.1 KB
  • index.html9.4 KB
  • reports.html8.3 KB

Colours

These custom properties are defined at the top of the stylesheet. Change a value once and it updates everywhere it is used.

  • --bg#0b0f1a
  • --surface#111827
  • --surface-2#172033
  • --line#1f2a3d
  • --line-strong#2b3a53
  • --text#e5e7eb
  • --muted#9ca3af
  • --lime#a3e635
  • --sky#38bdf8
  • --good#a3e635
  • --bad#f87171

Interactive features

Date-range selector

All overview data comes from build(range) in assets/js/main.js. Replace it with a call to your analytics API returning the same shape (labels plus current and previous series for visitors, sessions, bounce and duration).

Metric tiles

Each tile is a button with data-metric. Add a metric by adding a tile in index.html and an entry to the METRICS object in main.js.

Live visitors

initLive() in main.js runs a random walk every TICK_MS milliseconds. Replace the interval body with a poll of your real-time endpoint, and remove the demo badge.

Saved reports

The list lives in the REPORTS array in main.js. Edit entries or load them from your backend; filters, sorting and the new-report dialog work from that array.

Customisation notes

Change the accent colours

--lime and --sky in the :root block of assets/css/style.css drive the buttons, active states and chart lines. The chart colours in main.js are set where each Chart.js dataset is created.

Adjust the demo date

The dashboard treats 24 November 2026 as today (the END constant in main.js). Change it to Date.now() style logic once real data is connected.

Add a page to the navigation

Copy the header from either page, add a link in the nav element and set aria-current="page" on the active link.

What is front-end only

This is a front-end template. The behaviours below are demonstrations that run in the browser; connect them to your own server or service before relying on them.

  • All analytics figures are generated sample data.
  • The live visitors counter is a simulated random walk, labelled as demo data.
  • Run now and the New report dialog change the in-page list only; nothing is saved or sent.

Bundled components and licences

Everything the template needs is inside the download; nothing is loaded from the network.

  • JetBrains Mono typeface — OFL-1.1 (assets/fonts/jetbrains-mono-LICENSE.txt)
  • Space Grotesk typeface — OFL-1.1 (assets/fonts/space-grotesk-LICENSE.txt)
  • Chart.js 4.6.1 — MIT (assets/vendor/chartjs/LICENSE.txt)
  • Lucide icons (inlined SVG) — ISC (documentation/licenses/lucide-LICENSE.txt)

Changelog

Version 1.0.0 · Nov 23, 2026

  • Initial release.