Documentation
Digest — Reporting Dashboard
Version 1.0.0 · Vanilla HTML · 13 files · 195 KB
Getting started
- Unzip the download and open index.html in a browser. No server, installation or build step is needed.
- Edit the text directly in the HTML files.
- Change colours, fonts and spacing through the CSS custom properties at the top of assets/css/style.css.
- Replace the artwork in assets/images/ with your own images.
- Upload the whole folder to any static host.
File structure
The download contains these 13 files:
- LICENSE.txt1.4 KB
- README.md2.7 KB
- assets/css/style.css15 KB
- assets/fonts/newsreader-LICENSE.txt4.4 KB
- assets/fonts/newsreader-latin-wght-italic.woff263 KB
- assets/fonts/newsreader-latin-wght-normal.woff257 KB
- assets/fonts/work-sans-LICENSE.txt4.4 KB
- assets/fonts/work-sans-latin-wght-normal.woff249 KB
- assets/images/favicon.svg326 B
- assets/js/main.js11 KB
- documentation/index.html11 KB
- documentation/licenses/lucide-LICENSE.txt3.1 KB
- index.html17 KB
Colours
These custom properties are defined at the top of the stylesheet. Change a value once and it updates everywhere it is used.
--ink#111111--paper#ffffff--cobalt#1e40af--cobalt-soft#dbe4fb--muted#55555c--rule#d6d6da--rule-strong#111111--worse#a61b1b--wash#f6f7fb
Interactive features
Sortable comparison table
Add or edit rows in the table in index.html. Each numeric cell stores its raw number in data-v, which drives sorting and the CSV export.
Export CSV
Edit the header array and column order in initExport() in assets/js/main.js. The file is built in the browser as a Blob and downloaded as digest-october-2025.csv; change the name there.
Charts
Edit DAILY_OCT, DAILY_SEP and REGIONS at the top of the charts section in main.js. Change ymax and xmax in drawDaily() and drawRegions() if your values are larger.
Sparklines
Set data-spark on any element with the spark class to a comma-separated list of numbers; data-tone="worse" colours it red.
Print or save PDF
The button calls window.print(). Page size and margins are set by the @page rule in the print section of style.css.
Customisation notes
Change the accent
Set --cobalt and --cobalt-soft in the :root block of assets/css/style.css. Chart colours read from the same palette in the chart rules.
Edit the written summary
The lede paragraph and the numbered notes in index.html are plain HTML. Footnote references link to note ids and each note links back.
Control what prints
Anything marked data-noprint is hidden on paper. Add the attribute to other controls you add.
Notes column width
--notes-w sets the width of the margin column on desktop and in print. Below 1000px the notes stack under the content.
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 figures, regions and notes are invented sample data for a fictional tea retailer; the table and charts are not connected to a data source.
- Export CSV and print work entirely in the browser.
Bundled components and licences
Everything the template needs is inside the download; nothing is loaded from the network.
- Newsreader typeface — OFL-1.1 (
assets/fonts/newsreader-LICENSE.txt) - Work Sans typeface — OFL-1.1 (
assets/fonts/work-sans-LICENSE.txt) - Lucide icons (inlined SVG) — ISC (
documentation/licenses/lucide-LICENSE.txt)
Changelog
Version 1.0.0 · Nov 23, 2026
- Initial release.