News for hackers. Stuff that matters.
Re:Automating XKCD-Style Narrative Charts by imkevinxu on Sunday March 27, 2016 @04:23PM (#11371386)
Shameless plug for my XKCD Graph generator http://xkcdgraphs.com/
Re:Automating XKCD-Style Narrative Charts by drzax on Monday March 28, 2016 @10:37PM (#11379142)
That's neat! Thanks for pointing it out.
Re:Automating XKCD-Style Narrative Charts by jamessb on Sunday March 27, 2016 @05:12PM (#11371582)
>Like all good developers, rather than attempt to build it myself, I had a good look around to see if anyone else had attempted the same thing, and it turns out, someone had. Unfortunately, the example I found isn’t open source, so we had to build it ourselves.

I came across an open source (MIT licensed) project to draw these kind of charts a few years ago: https://github.com/bhagany/nchart

(The algorithms used by nchart and d3-layout-narrative are not the same)

Re:Automating XKCD-Style Narrative Charts by drzax on Monday March 28, 2016 @10:44PM (#11379155)
I remember seeing this (or something like it) around the time I embarked on my project. Unfortunately, I needed a JS solution.

Another that has be pointed out to me since talking more about my project is http://vis.cs.ucdavis.edu/~tanahashi/storylines/

It's written in Python and looks like it produces really nice output, but I haven't had time to look at it in detail yet.

Re:Automating XKCD-Style Narrative Charts by hitekker on Sunday March 27, 2016 @03:54PM (#11371254)
Direct link to library:

https://github.com/abcnews/d3-layout-narrative.

Neat stuff: I will see if it has utility for planning out my own writing.

Re:Automating XKCD-Style Narrative Charts by yegle on Sunday March 27, 2016 @03:47PM (#11371224)
A narrative of https://en.m.wikipedia.org/wiki/All_You_Zombies would be interesting.
Re:Automating XKCD-Style Narrative Charts by fizixer on Sunday March 27, 2016 @05:42PM (#11371686)
Also, JakeVDP did xkcd-style plots [0] in 2012 (and I think now they're bundled as part of the IPython/Jupyter/Matplotlib/Anaconda package).

[0] https://jakevdp.github.io/blog/2012/10/07/xkcd-style-plots-i...

Re:Automating XKCD-Style Narrative Charts by zellyn on Sunday March 27, 2016 @09:06PM (#11372192)
This seems like a perfect use case for human-aided layout: if you could drag things to rearrange, but the computer kept it correct, it seems like you could tweak them pretty quickly into a much better state.
Re:Automating XKCD-Style Narrative Charts by chris_wot on Sunday March 27, 2016 @04:01PM (#11371283)
Damn, that example narrative chart is the who's who of either corrupt, or stupid, Australian politicians.
Re:Automating XKCD-Style Narrative Charts by pronoiac on Sunday March 27, 2016 @10:07PM (#11372345)
Here's a take on the problem from 2010: http://ogievetsky.com/PlotWeaver/ (Warning: Flash)
Re:Automating XKCD-Style Narrative Charts by swinghu on Monday March 28, 2016 @04:19AM (#11373228)
Excellent,good work