Jake Vanderplas did something similar many years ago in python [1]. I miss his blog posts (must be busy doing something great).
[1] https://jakevdp.github.io/blog/2012/10/07/xkcd-style-plots-i...
[1] https://jakevdp.github.io/blog/2012/10/07/xkcd-style-plots-i...