D3.js powered, pure javascript without any other external third party dependencies horizontal timeline. Compatible with modern JS frameworks such as React, Angular. React and Angular wrappers are coming soon.
npm install --save @berkelmas/horizontal-timeline
import { createTimeline } from "@berkelmas/horizontal-timeline";
createTimeline(selector, onZoom, onSelectData);
// onZoom function gets axisStartDate and axisEndDate
// onSelectData function gets data as json object.