How to Generate FiveThirtyEight Graphs in Python


88 bookmarks. First posted by stcwiki september 2017.


Impressed by the graphs on popular site FiveThirtyEight? This quick tutorial gets you started making your own eye-catching visualizations.
programming  python  charting  howto 
29 days ago by kger
A really nice case study showing how to drive matplotlib to produce a publication-quality journalistic graph. I appreciated the step-by-step approach and level of detail, and that we get a tour of most of the major concepts in matplotlib. And it's also funny how tutorials highlight the extent to which our plotting libraries are, still, really pretty terrible — using manual whitespace padding in the tick labels to get decimal or percentage sign alignment, poor or non-existent systems for sizing elements that are both data and canvas-aware, and generally poor comparability and usability.
visualization 
october 2017 by DGrady
Using Python’s matplotlib and pandas, we’ll see that it’s rather easy to replicate the core parts of any FiveThirtyEight (FTE) visualization.
Python  visualization  FiveThirtyEight  FTE  matplotlib  pandas  graphs  tutorial  blog 
october 2017 by areich
To avoid digressing from our main task in this tutorial, let’s just pretend we’ve already written most of an article about the evolution of gender disparity in US education. To minimize the time spent with generating the graph, it’s important to avoid beginning adding the title, the subtitle, or any other text snippet. As you can deduce from the code below, this parameter can take in a list of mixed data types, and doesn’t require any fixed number of labels to be passed in. It’s also worth mentioning that we tweaked the positioning of the signature bar in such a way that we added some visually refreshing lateral margins (we discussed this adjustment earlier). Explore matplotlib’s gallery to search for potential elements to enrich your FTE graphs (like inserting images, or adding arrows etc.).
october 2017 by sechilds
Impressed by the graphs on popular site FiveThirtyEight? This quick tutorial gets you started making your own eye-catching visualizations.
python  visualization  data  analytics  graphs  matplotlib  via:popular  pandas  datascience  IFTTT  FiveThirtyEight 
october 2017 by tranqy
If you read data science articles, you may have already stumbled upon FiveThirtyEight’s content. Naturally, you were impressed by their awesome visualizations. You wanted to make your own awesome visualizations and so asked Quora and Reddit how to do it.
Archive  python 
october 2017 by chrisweiss
Nice tutorial for creating better looking graphs.
analytics  data  python  tappit 
september 2017 by traggett
If you read data science articles, you may have already stumbled upon FiveThirtyEight’s content. Naturally, you were impressed by their awesome visualizations. You wanted to make your own awesome visualizations and so asked Quora and Reddit how to do it. You received some answers, but they were rather vague. You still can’t get the graphs done yourself. In this post, we’ll help you. Using Python’s matplotlib and pandas, we’ll see that it’s rather easy to replicate the core parts of any FiveThirtyEight (FTE) visualization.
Python  Data  Math  Stats  CompSci  Programming 
september 2017 by mfernando
Alexandru Olteanu:
<p>If you read data science articles, you may have already stumbled upon FiveThirtyEight’s content. Naturally, you were impressed by their awesome visualizations. You wanted to make your own awesome visualizations and so asked Quora and Reddit how to do it. You received some answers, but they were rather vague. You still can’t get the graphs done yourself.

In this post, we’ll help you. Using Python’s matplotlib and pandas, we’ll see that it’s rather easy to replicate the core parts of any FiveThirtyEight (FTE) visualization.

We’ll start here:
<img src="https://www.dataquest.io/blog/images/alex-538/default_graph.png" width="100%" />

And, at the end of the tutorial, arrive here:
<img src="https://www.dataquest.io/blog/images/alex-538/final3.png" width="100%" />

To follow along, you’ll need at least some basic knowledge of Python. If you know what’s the difference between methods and attributes, then you’re good to go.</p>


If you're into Python and graphs, this is what you want.
data  graphs  python  analytics 
september 2017 by charlesarthur
Impressed by the graphs on popular site FiveThirtyEight? This quick tutorial gets you started making your own eye-catching visualizations.
python  data  graphs  visualization 
september 2017 by eddy
If you read data science articles, you may have already stumbled upon FiveThirtyEight’s content. Naturally, you were impressed by their awesome visualizations .…
from instapaper
september 2017 by rdr
matplotlib has a 'fivethirtyeight' style!

import matplotlib.style as style
style.use('fivethirtyeight')
visualization  matplotlib 
september 2017 by davewsmith
Impressed by the graphs on popular site FiveThirtyEight? This quick tutorial gets you started making your own eye-catching visualizations.
python  graphs  matplotlib  tutorial 
september 2017 by drcjar
Impressed by the graphs on popular site FiveThirtyEight? This quick tutorial gets you started making your own eye-catching visualizations.
analytics  python  visualization  graphs  stats 
september 2017 by peletiah
How to Generate FiveThirtyEight Graphs in Python
ifttt  feedbin 
september 2017 by nuntz
How to Generate FiveThirtyEight Graphs in Python by via Hacker News http://ift.tt/2wKHnrk
IFTTT  NewsBlur 
september 2017 by david3smith
You might have already observed that there’s a built-in style called fivethirtyeight. Let’s use this style, and see where that leads. For that, we’ll use the aptly named use() function from the same matplotlib.style module (which we imported under the name style). Then we’ll generate our graph using the same code as earlier.
visualization  analytics  blog  Python 
september 2017 by janpeuker
How to Generate FiveThirtyEight Graphs in Python
from twitter_favs
september 2017 by martinjc