How to Generate FiveThirtyEight Graphs in Python
dataquest.io
How to Generate FiveThirtyEight Graphs in Python
1–10 of 56 posts
Re: How to Generate FiveThirtyEight Graphs in Python
#2I didn't know that there was a fivethirtyeight style in matplotlib. Tres cool!
Re: How to Generate FiveThirtyEight Graphs in Python
#3I didn't know that there was a fivethirtyeight style in matplotlib. Tres cool!
Matplotlib also allows xkcd style plots [1] if that is something you fancy :)
[1] -- http://jakevdp.github.io/blog/2013/07/10/XKCD-plots-in-matpl...
Re: How to Generate FiveThirtyEight Graphs in Python
#4I am not familiar with FiveThirtyEight but these graphs look quite nice.
Re: How to Generate FiveThirtyEight Graphs in Python
#5Pretty cool, but I actually prefer the standard style in matplotlib.
Re: How to Generate FiveThirtyEight Graphs in Python
#6I didn't know that there was a fivethirtyeight style in matplotlib. Tres cool!
Matplotlib also allows xkcd style plots [1] if that is something you fancy :) [1] -- http://jakevdp.github.io/blog/2013/07/10/XKCD-plots-in-matpl...
The XKCD graphing is really easy to do, maybe FTE could be refined and incorporated too
Re: How to Generate FiveThirtyEight Graphs in Python
#7Pretty cool, but I actually prefer the standard style in matplotlib.
I agree – it's interesting how one is initially drawn to, yet eventually tires of these sorts of plot styles. While Seaborn strikes a good balance, clear and simple monochrome plots never go out of fashion. This is just as much the case when building fancy interactive plots using Shiny/Plotly etc.
Re: How to Generate FiveThirtyEight Graphs in Python
#8Just make a completely wild and inaccurate prediction loosely based on fake polling data, and then graph it. Like they did when they predicted Trump had only a 1% chance of becoming president.
Re: How to Generate FiveThirtyEight Graphs in Python
#9Just make a completely wild and inaccurate prediction loosely based on fake polling data, and then graph it. Like they did when they predicted Trump had only a 1% chance of becoming president.
In the weeks leading up to the election, they were putting Trump's odds at 1/4, and pretty roundly mocking/cautioning against others who were putting him at 1%. On mobile, so I can't check by hovering, but I don't think they ever put his chances below 1/10: https://projects.fivethirtyeight.com/2016-election-forecast/
Re: How to Generate FiveThirtyEight Graphs in Python
#10I wonder how much of the final plot would be made much easier by using seaborn.