Archive of posts filed under the Statistical graphics category.

## You’ll never guess this one quick trick to diagnose problems with your graphs and then make improvements

The trick is to consider graphs as comparisons. Here’s the story. This post from several years ago shows a confusing and misleading pair of pie charts from a Kenyan election: The quick reaction would be to say, ha ha, pie charts. But that’s not my point here. Sure, pie charts have problems and I think […]

## More graphs of mortality trends

Corinne Riddell writes: In late March you released a series of plots visualizing mortality rates over time by race and gender. For almost a year now, we’ve been working on a similar project and have compiled all of our findings into an R shiny web app here, with a preprint of our first manuscript here. […]

## Click-through graphics: A demonstration visualization project for someone

Hey, read this post. We discuss a shiny information visualization and propose “the click-through solution”: Start with a visually grabby graphic like the one on the linked page, something that takes advantage of some mystery to suck the viewer in. Then click and get a suite of statistical graphs that allow more direct visual comparisons […]

## Mike Bostock graphs federal income tax brackets and tax rates, and I connect to some general principles of statistical graphics

Mike “d3” Bostock writes: Regarding the Vox graph on federal tax brackets, here is a quick-and-dirty visualization of effective tax rates for a given taxable income and year. However, there is a big caveat: estimating the effective tax rate based on actual income is much harder since it depends on the claimed deductions. This could […]

## Taxes and data visualization

Nadia Hassan writes: Vox has a graph of tax rates over time. Their visualizations do convey that tax rates for high earners have declined over time and tax brackets are fewer now, but it seems like there are more appealing and intuitive ways to display that. I agree. This visualization reminds me a lot of […]

## Visualizing your fitted Stan model using ShinyStan without interfering with your Rstudio session

ShinyStan is great, but I don’t always use it because when you call it from R, it freezes up your R session until you close the ShinyStan window. But it turns out that it doesn’t have to be that way. Imad explains: You can open up a new session via the RStudio menu bar (Session […]

## Blue Cross Blue Shield Health Index

Chris Famighetti points us to this page which links to an interactive visualization. There are some problems with the mapping software—when I clicked through, it showed a little map of the western part of the U.S., accompanied by huge swathes of Canada and the Pacific Ocean—and I haven’t taken a look at the methodology. But […]

## Aggregate age-adjusted trends in death rates for non-Hispanic whites and minorities in the U.S.

Following up on our recent Slate article, Jonathan Auerbach made some graphs of mortality rate trends by sex, ethnicity, and age group, aggregating over the entire country. Earlier we’d graphed the trends within each state but there was so much going on there, it was hard to see the big picture. All our graphs are […]

Jonathan Auerbach and I recently created graphs of smoothed age-adjusted mortality trends from 1999-2014 for: – 50 states – men and women – non-hispanic whites, blacks, and hispanics – age categories 0-1, 1-4, 5-14, 15-24, 25-34, 35-44, 45-54, 55-64, 65-74, 75-84. We posted about this on the blog and also wrote an article for Slate […]

## Crack Shot

Raghu Parthasarathy writes: You might find this interesting, an article (and related essay) on the steadily declining percentage of NIH awards going to mid-career scientists and the steadily increasing percentage going to older researchers. The key figure is below. The part that may be of particular interest to you, since you’ve written about age-adjustment in demographic work: does […]

## Some U.S. demographic data at zipcode level conveniently in R

Ari Lamstein writes: I chuckled when I read your recent “R Sucks” post. Some of the comments were a bit … heated … so I thought to send you an email instead. I agree with your point that some of the datasets in R are not particularly relevant. The way that I’ve addressed that is […]

## An exciting new entry in the “clueless graphs from clueless rich guys” competition

Jeff Lax points to this post from Matt Novak linking to a post by Matt Taibbi that shares the above graph from newspaper columnist / rich guy Thomas Friedman. I’m not one to spend precious blog space mocking bad graphs, so I’ll refer you to Novak and Taibbi for the details. One thing I do […]

## “Another terrible plot”

Till Hoffman sent me an email with the above subject line and the following content: These plots from the Daily Mail in the UK probably belong in your hall of fame of terrible visualisations: http://www.dailymail.co.uk/news/article-3655775/The-polls-finally-open-Britain-s-historic-Referendum-vote-latest-polls-Remain-camp-lead-six-points-weather-swing-Brexit.html I was gonna click on this, but then I thought . . . the Daily Mail? Even I have limits […]

## No evidence shark attacks swing elections

Anthony Fowler and Andy Hall write: We reassess Achen and Bartels’ (2002, 2016) prominent claim that shark attacks influence presidential elections, and we find that the evidence is, at best, inconclusive. First, we assemble data on every fatal shark attack in U.S. history and county-level returns from every presidential election between 1872 and 2012, and […]

## Gray graphs look pretty

Swupnil made this graph for a research meeting we had today: It looks so cool. I think it’s the gray colors. So here’s my advice to you: If you want to make your graphs look cool, use lots of gray.

## Stan users group hits 2000 registrations

Of course, there are bound to be duplicate emails, dead emails, and people who picked up Stan, joined the list, and never came back. But still, that’s a lot of people who’ve expressed interest! It’s been an amazing ride that’s only going to get better as we learn more and continue to improve Stan’s speed […]

## Garrison Keillor would be spinning etc.

Under the subject line, “Misleading Graphs of the Week,” Bill Jefferys sends along this: I agreed with Bill’s colleague Helen Read who wondered why should the 90th percentile be some magic number? Just change it to 85% or 95% or whatever and all the graphs will look different. Also kinda horrible that they’re presenting percentages […]

## Graph too clever by half

Mike Carniello writes: I wondered what you make of this. I pay for the NYT online and tablet – but not paper, so I don’t know how they’re representing this content in two dimensions. I’ve paged through the thing a couple of times, not sure how useful it is – it seems like a series […]

## DrawMyData

Robert Grant writes: This web page is something I constructed recently. You might find it useful for making artificial datasets that demonstrate a particular point for students. At any rate, if you have any feedback on it I’d be interested to hear it. I’ve tried to keep it as simple as possible but in due […]

## All maps of parameter estimates remain misleading

Roland Rau writes: After many years of applying frequentist statistical methods in mortality research, I just began to learn about the application of Bayesian methods in demography. Since I also wanted to change a part of my research focus on spatial models, I discovered your 1999 paper with Phil Price, All maps of parameter estimates […]