Free for personal, educational, and other non-commercial projects — install from npm, use the CDN, or download the zero-dependency bundle.
By downloading and using this software, you acknowledge your understanding and acceptance of the HistropediaJS Non-Commercial Licence Agreement.
Required to enable the download.
Everything you need to start building timelines, bundled into a .zip download.
<script> tags
Complete UMD and ESM examples with shared data — copy, paste, and customize.
Highlights from the latest release. For full notes, see the links below or the change log.
timeline.setOption(...)—including parent date-label visibility or height—now refits stacked articles before redraw, with no manual fitToHeight() call needed.Dmy objects retain their chosen precision during calculations and correctly update the day of year after their date fields are edited.'month', 'all', and 'screen' for precision, density, and stacking range.timeline.setStartDate(date, { padding, animation }) for padded or animated jumps.timeline-state-change now fires after meaningful interactions settle, reducing save-handler noise.timeline.fitDateRange(start, end, options) to fit a supplied period into the viewport.this context. Preserves the timeline instance as this inside legacy event handlers to maintain backward compatibility.