A beautiful story about NYC weather

January 21, 2015

[This article was first published on Revolutions, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Inspired by Tufte's classic visualization of New York City weather in 2013, Alex Bresler used the R language to update the chart for 2014:

NYC weather

(Click the image to view the zoomable SVG version.) The R code to create the plot is available on GitHub, and is easily adapted to display data for any of the other cities provided in the University of Dayton Average Daily Temperature Archive. Here's the version for Chicago:


This one doesn't include the annotations, since the labels on the NYC were added by Alex by adding to the ggplot2 object directly (which I didn't attempt for Chicago). But the annotations are really the highlight of the plot: following Tufte, these are what tell the story of NYC's weather last year. (But you can sure see that Chicago was damn cold last winter!)

Musings, Lessons, Analysis, and Visualizations by Alex Bresler: Visualizing New York City's 2014 Weather (via Hilary Parker)

To leave a comment for the author, please follow the link and comment on their blog: Revolutions.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Comments are closed.

Search R-bloggers


Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)