2
$\begingroup$

Are there any functions or resources to plot events in a calendar view like this?

enter image description here

I'd like to use this with the google service:

cal = ServiceConnect["GoogleCalendar"]
cal["EventDataset"]

For testing purposes here is code to generate the events:

nEvents = 25;
events = Thread[{Partition[Sort[ResourceFunction["RandomDate"][
    {Now, Now + Quantity[5, "Days"]}, nEvents*2]], 2], 
   Table[ResourceFunction["LatinizedText"][RandomInteger[{1, 20}]], nEvents]
}]

Criteria for an acceptable answer includes:

  • Looks like the above calendar from twitch
  • Shows event details like title and time length info
  • Handles overlapping events like a normal calendar view
  • Shows different calendars (sets of events) in different colors

Related:

$\endgroup$
3
  • $\begingroup$ Any data to work with? Any criteria to identify the answer? $\endgroup$ – Kuba Oct 20 '20 at 2:50
  • $\begingroup$ @Kuba Thanks, I added data to work with if you're uncomfortable publishing your personal gcal :) Also the criteria for an answer. $\endgroup$ – M.R. Oct 20 '20 at 17:20
  • $\begingroup$ It is rather that I am lazy but that is fine with the book. The question should come with data to play with to avoid misinterpretation. Thanks. $\endgroup$ – Kuba Oct 20 '20 at 17:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.