The current package depends on `d3` and `moment`, both of which are very large. Can `moment` be replaced by [`dayjs`](https://day.js.org/)?