How to Generate FiveThirtyEight Graphs in Python
dataquest.io
dataquest.io
More info in this video: https://channel9.msdn.com/Events/useR-international-R-User-c...
[1] -- http://jakevdp.github.io/blog/2013/07/10/XKCD-plots-in-matpl...
If you just want to visualize some data fast for yourself, then, yeah, the standard style is really great - it's readable and saves you time.
To be fair, MBSS got much better in the recent version 2.x
Before (version 1.x), I always had to use seaborn and/or modify parameters, but now the default style is good enough for most of my use cases.
I think monochrome is great for some uses, but at least for the area I work in the majority of figures use color. I'd say the main reason to use monochrome is for print, but most scientific journals are online nowadays and even conference proceedings are handed out in color. Now that doesn't mean everybody uses color well but that's a different discussion...
Too fancy? Too plain? Kinda ok? Kinda new to matplotlib, so your feedback would help :)
Just one idea, on your vegetable chart, you have onions as a red line and tomatoes as yellow. I would swap them around, as I automatically associate tomatoes with red.
Would be more interesting if someone could actuslly replicate the Irma one. But I figure it probably is a plotting around the datapoint (similar idea like a best fit line, but as a curve).
So my tl;dr for generating any interesting graph is a lot of coding... a lot of playing with attributes and modeling.
There are easier ways to make these kinds of plots.
This sounds trite, but it's enormously powerful and it's what makes D3 worth learning.
Also, it took 17 lines of code to generate the graph in the tutorial, among which 6 lines were to add labels (excluding from the total the lines of code for reading in the data or importing modules). The teaching approach makes it look that long.
You could also write some functions if you coded this kind of graphs regularly, and make the whole process a breeze.
Your example is potentially misleading in this discussion for anyone who won't bother to go through that article you linked to.
I'm not saying you can't do the graphs in under 10 lines of code, I'm just saying that your example totally misses the point.
The graphs on your article look really nice, but they are quite far from resembling FTE's, IMO.