@fqqb/timeline is a framework-agnostic JavaScript library for rendering interactive timeline charts such as this:

Download

npm install --save @fqqb/timeline

Usage

<div id="timeline"></div>
<script type="module">
    import { Timeline } from 'https://esm.run/@fqqb/timeline';

    const targetEl = document.getElementById('timeline');
    const timeline = new Timeline(targetEl);
    // ...
</script>