5 ms·
RoughViz: JS library for creating sketchy/hand-drawn style charts in the browser
- dandigangi 7y agoSuggested this to our designer as a new direction for data vis products design style. He declined my proposal. Haha Cool library!
- nudemanonbike 7y agoI'm going to use this for every internal page I write, even if charts aren't necessary
- nerdb4itwascool 7y agoThis is a really fun library, it'd be great for a blog or personal website. A business site? maybe not so much...
- dsamarin 7y agoI would love to see Crayola or RoseArt using this for their quarterly reports.
- egyptiankarim 7y ago> Use these charts where the communication goal is to show intent or generality, and not absolute precision. Or just because they're fun and look weird. I love the intent and execution behind this. The implication of imprecision in the underlying data through rough looking "hand drawn" charts and graphs is a really smart design hack.
- mr__y 7y ago>he implication of imprecision in the underlying data through rough looking "hand drawn" charts and graphs is a really smart design hack. The same approach could be used for mockup apps/websites
- lkschubert8 7y agoThere is actually a java swing look and feel called napkin from over a decade ago that is similar.
- jfim 7y agohttp://napkinlaf.sourceforge.net/ http://napkinlaf.sourceforge.net/ has some pictures. It's actually good for mockups, since users don't assume the feature is done when they see it.
- ceejayoz 7y agoI use https://balsamiq.com/ https://balsamiq.com/ for this.
- tracker1 7y agoThat was my first thought when seeing this... IIRC, XAML had a similar rendering option as well.
- tasogare 7y agoIt had, in Expression (Blend?) but not every component had a draw-like component which made things a bit awkward. Or maybe I missed something. Anyway XAML is still my favorite UI platform, it’s sad Microsoft doesn’t make any effort to make it cross platform.
- ygra 7y agoWell, XAML itself doesn't have anything to do with UI, it's just a serialization of an object graph with hints about code generation. There's AvaloniaUI, though, if you're looking for XAML, UI, and cross-platform.
- meredydd 7y agoAt the risk of self promotion, I made something very much like this a few months back: https://anvil.works/blog/xkcd-style-apps https://anvil.works/blog/xkcd-style-apps It was inspired by the 'xkcd' matplotlib theme, which itself is delightful: https://matplotlib.org/xkcd/examples/showcase/xkcd.html https://matplotlib.org/xkcd/examples/showcase/xkcd.html
- fizixer 7y agoJake 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-in-matplotlib/ https://jakevdp.github.io/blog/2012/10/07/xkcd-style-plots-i...
- hantusk 7y agoHe's active on twitter https://twitter.com/jakevdp https://twitter.com/jakevdp
- lordgrenville 7y ago...and presumably during more of his time, working for Google on Colab.
- zwily 7y agoAnd if you live in React-land, here’s a wrapper: https://github.com/Chris927/react-roughviz https://github.com/Chris927/react-roughviz
- umairadilmirza 7y agoI wonder if I could use these graphs for my office presentations. They're pretty accurate so why not.
- bryanrasmussen 7y agoSo the has the term sketchy fallen out of use as a slang-term for untrustworthy?
- CharlesW 7y agoThat's the most common informal meaning of the word. The most common formal meaning is "not thorough or detailed", which approaches but doesn't quite capture it's use here (i.e. "looks like a hand-drawn sketch").
- Stratoscope 7y agoI think the "untrustworthy" meaning is also relevant here. One of the reasons to use this hand-drawn look is so that people won't trust the drawings. Balsamiq has a good description of this philosophy on their "What are Wireframes?" page. Here are the summary points: 1. It makes it clear that this is not the final design. 2. It conveys that "this is all up for discussion". 3. It makes it clear that no code has been written yet. In other words, don't trust these drawings! They are not finished product, or any kind of product. There's a longer explanation of each of these points on the page (scroll down to "Why Do These Wireframes Look the Way They Do?"). Recommended reading for anyone considering this sketchy style of drawing: https://balsamiq.com/learn/resources/articles/what-are-wireframes/ https://balsamiq.com/learn/resources/articles/what-are-wiref...
- bryanrasmussen 7y agoyes I was thinking about that, wondering if the choice of sketchy was a conscious one. Probably is.
- pugworthy 7y agoI'd take sketchy over sketcherly any day.
- bryanrasmussen 7y agowhat about sketchisk?
- ChrisArchitect 7y agosee also recent related: Chart.xkcd – library that plots charts in Xkcd sketch/cartoon/hand-drawn style https://news.ycombinator.com/item?id=21566084 https://news.ycombinator.com/item?id=21566084
- leeoniya 7y agolol `roughness: 20`
- bogwog 7y agoThis looks nice, but even if I was wasted I could probably draw some straighter bar graphs than that.
- mirekrusin 7y agoYou can control promil level.
- signal11 7y agoIf the "hand-drawn diagram" look appeals to you and you're a Visio user, you can get this look in Visio 2016. Design tab > Themes > Hand-drawn.
- iamaelephant 7y agoYou could also look into drawing hand-drawn diagrams by hand.
- signal11 7y agoYes, I've been doing that increasingly (and taking photos) or using an iPad + pencil -- tbh hand-drawn + photos is just faster. But sometimes photos or exported illustrations don't work e.g. when someone else (remote) needs an editable copy.
- fimdomeio 7y agoThis looks like its all svg lines. If so could also be interesting for pen plotters.
- jimhefferon 7y agoDoes anyone know of a way to draw figures that look like old-fashioned textbook illustrations, which I believe weere hand drawn in India ink? My father's physics books from the fifties are just beautiful.
- cloverich 7y agoCan you share some links or images? I'm becoming slowly fascinated with this sort of look and collecting them. I dream one day i'll have the time to make a component or charting library that implements them.
- jimhefferon 7y agoHere are a couple from a book I could find right away. https://imgur.com/gallery/K3iBxgm https://imgur.com/gallery/K3iBxgm From a 1948 text by McGraw-Hill.
- buckminster 7y agoThis is amazing: https://github.com/jemmybutton/fiziko https://github.com/jemmybutton/fiziko There's an excellent blog post by the author with many more illustrations but I can't find it right now. Edit: found it! https://habr.com/en/post/454376/ https://habr.com/en/post/454376/
- jimhefferon 7y agoYes, I have seen those, thank you. They are indeed absolutely wonderful. But I had something else in mind. I posted a couple of examples under an adjacent reply.
- IanCal 7y agoThose are lovely, thanks for sharing them!
- hirenj 7y agoIf I had an infinite amount of time, I would love to convert this over to run in the browser / SVG.. I hope there are some enterprising young souls out there who are keen on the challenge!
- nickysielicki 7y agoAnyone know of a good library for large directed graph visualization? Something akin to google maps where you can scroll in-and-out, and it improves/reduces resolution accordingly?
- fortzi 7y agoI've used vis.js for some projects and it did the job well. Very customizable.
- IanCal 7y agoI've had good success with rendering out the network at different resolutions, chopping up the image and putting them as tiles for leafletjs. The cutting is pretty easy, there are some libraries but a bit of basic scripting with imagemagik can also solve it. You can then add points/etc like a regular map, it'll load quickly and work on devices how users are used to.
- softwarelimits 7y agohttps://js.cytoscape.org/ https://js.cytoscape.org/
- nickcox 7y agoSemiotic offers something similar. https://medium.com/@Elijah_Meeks/sketchy-data-visualization-in-semiotic-5811a52f59bc https://medium.com/@Elijah_Meeks/sketchy-data-visualization-...
- abhinai 7y agoThe rendering looks very realistic. I would love to see a blog post written by the authors on how they accomplished such great results.
- squiggleblaz 7y agoYes, the graphs look great, but as usual the fake hand drawn text looks like a fake hand drawn font with some super unnatural inconsistent rotation. Maybe I should make it a project to make a tool that can generate fake hand drawn text that looks like hand drawn text.
- benmccann 7y agoThere's a plugin for Chart.js that does something similar was well: https://github.com/nagix/chartjs-plugin-rough https://github.com/nagix/chartjs-plugin-rough
- blzrdnofreespch 7y agoAmazing, love finding cool stuff like this.