R script to create timeline

Hi. I have just written an R script to create a timeline of scheduled events. The script is here:

It will produce an interactive timeline as follows:

It should be pretty easy for anyone with any experience of R (or indeed general programming experience) to run.

It is quite basic but could be developed in a number of ways.

The script uses an R package called “timevis” which in turn exploits the visjs Javascript library. Someone with a good knowledge of javascript and using APIs could develop this into a genuine logseq addon with relative ease.

I would love to have a timeline view in Logseq. Thanks for sharing.

3 Likes