A beautiful story about NYC weather

January 21, 2015
By

(This article was first published on Revolutions, and kindly contributed to R-bloggers)

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:

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 on topics such as: Data science, Big Data, R jobs, visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...



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.

Sponsors

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)