Friday, August 10, 2012

Animated GIF Annual Correlation of 48 Industries for 50 Years

Inspired by http://blogs.reuters.com/felix-salmon/2012/08/06/chart-of-the-day-hft-edition/, I thought I would build on 48 Industries (Dendrogram Ordered) Over 50 Years, “Trend is Not Your Friend” Applied to 48 Industries, and 48 Industries Since 1963 with an animated GIF of annual correlation for the Kenneth French 48 Industry Data set.

From TimelyPortfolio

R code in GIST (do raw for copy/paste):

1 comment:

  1. Thanks for sharing! I got it to work, though the result is not exactly informative, in my humble opinion.

    The following is needed:
    library(animation)
    #requires: http://imagemagick.org
    library(RColorBrewer)

    ReplyDelete