News for hackers. Stuff that matters.
Re:Show HN: Chart.xkcd – Xkcd-styled chart library by timqian on Monday August 19, 2019 @02:19AM (#20735339)
Hi, HN, thanks for the upvotes. I am the author of this lib.

What I want is a chart library with simple API like chart.js but in hand-drawn effect. I find there is no such lib, so I created this one. Thanks for trying it out.

Previous discussions about xkcd styled charts:

- xkcd styled charts in matplotlib: https://news.ycombinator.com/item?id=19293129

- simple line graph in d3: https://news.ycombinator.com/item?id=4671676

- disscussions on stackexchange: https://mathematica.stackexchange.com/questions/11350/xkcd-s...

- why are xkcd styled graph important: https://news.ycombinator.com/item?id=7511762

Re:Show HN: Chart.xkcd – Xkcd-styled chart library by ac4tw on Monday August 19, 2019 @10:49PM (#20743449)
Thanks @timqian--really like the look of this and the examples cracked me up--esp.: "Monthly income of an indie developer".

I'd 2nd the comments below on Safari & size--ultimately I'm excited about using this in some mobile projects we're planning.

Re:Show HN: Chart.xkcd – Xkcd-styled chart library by imdsm on Monday August 19, 2019 @12:20PM (#20739110)
Ah, you've linked to the HN thread for https://www.chrisstucchio.com/blog/2014/why_xkcd_style_graph... — I just went looking for this. I always think of this post when the subject of charts is brought up.

It also help develop my way of thinking with regard to the precision of units in estimations, e.g. going 24 hours over a 72 hour deadline is interpreted as bad, but going 1 day over a 3 day deadline isn't interpreted as nearly as bad. It's about precision and how it informs ones beliefs.

Re:Show HN: Chart.xkcd – Xkcd-styled chart library by cogburnd02 on Monday August 19, 2019 @04:40AM (#20735984)
The github page doesn't have the license?
Re:Show HN: Chart.xkcd – Xkcd-styled chart library by timqian on Monday August 19, 2019 @04:49AM (#20736053)
it is MIT, I have added it to the repo
Re:Show HN: Chart.xkcd – Xkcd-styled chart library by app4soft on Monday August 19, 2019 @11:06PM (#20743514)
Seems like merging `xkcd-script.ttf`[0] directly into `chart.xkcd` repository may violate `xkcd-font` licensing.[1]

CC-SA-NC-licensed thing could not be merged into MIT-licensed thing.

[0] https://github.com/ipython/xkcd-font/blob/master/xkcd-script...

[1] https://github.com/ipython/xkcd-font/blob/master/LICENSE

Re:Show HN: Chart.xkcd – Xkcd-styled chart library by azastrael on Monday August 19, 2019 @04:47AM (#20736041)
The package.json file indicates that it’s under the MIT license. I wonder if that’s enough though.