Blog Archives

Rickshaw d3.js from R with rCharts

June 11, 2013
By

Shutterstock’s open source Rickshaw provides a very nice tutorial to get started building interactive time series d3.js charts with Rickshaw.  I just could not resist rebuilding the tutorial but this time ENTIRELY in R with the amazing packages slidify and rCharts.  I have embedded the tutorial below,...

Read more »

If…then in Japan

May 30, 2013
By
If…then in Japan

If Japan starts to spiral out of control, then what do they do? A spiral would be a sudden move higher in JGB rates with a simultaneous crash in the Japanese Yen. Their response would be to try to slow the positive feedback loop through external interv...

Read more »

Intended or Unintended Consequences

May 28, 2013
By
Intended or Unintended Consequences

(This article was first published on Timely Portfolio, and kindly contributed to R-bloggers) A quick glimpse at the US 10y Treasury Bond rate since 2000 seems benign with low volatility and a general downward trend.require(latticeExtra)require(quantmod)US10y <- getSymbols("^TNX", from = "2000-01-01", auto.assign = FALSE)asTheEconomist(xyplot(US10y, scales = list(y = list(rot = 1)), main = "US 10y Yield Since 2000"))From TimelyPortfolioHowever,...

Read more »

Even More JGB Yield Charts with R lattice

May 15, 2013
By
Even More JGB Yield Charts with R lattice

See the last post for all the details. I just could not help creating a couple more. Variations on Favorite Plot - Time Series Line of JGB Yields by Maturity p2 <- xyplot(value ~ date | indexname, data = jgb.melt, type = "l", layout = c(length(unique(jgb.melt$indexname)), ...

Read more »

Japan – JGB Yields–More Lattice Charts

May 15, 2013
By
Japan – JGB Yields–More Lattice Charts

This blog is littered with posts about Japan. In one sentence, I think Japan presents opportunity and is a very interesting real-time test of much of my macro thinking. Proper visualization is absolutely essential for me to understand all of the dynami...

Read more »

Old Post with New d3 Life–GARCH and MA Performance

May 3, 2013
By

Parallel coordinates become much more useful when they are interactive, so I recreated one of my favorite blog posts "Trend is Not Your Friend" Applied to 48 Industries and convert the chart to a living breathing d3 parallel coordinates chart courtesy ...

Read more »

Changing The Presidential Election with R in the Browser

May 2, 2013
By

After I finished with the tutorial post d3 <- R with rCharts and slidify and then saw R creates d3/javascript charts in Ipython Style Notebook, a light clicked.  I could finally answer the lingering question I have had ever since I saw the NYT ...

Read more »

R creates d3/javascript charts in Ipython Style Notebook

May 1, 2013
By

I am not sure I have ever done a post like this, but I was so blown away I had to do this post simply to embed this amazing Youtube video from the author of the R packages rCharts and slidify.  Watch this screencast as he creates d3/raphael charts...

Read more »

d3 <- R with rCharts and slidify

April 29, 2013
By

I believe that the NY Times interactive feature 512 Paths to the White House is one of the best visualizations of all time.  It is even better when we have details on the process of creating this marvel.   Although the graphic is not suited for other data sources (please tell me if this is not...

Read more »

Banging on the JGBs

April 17, 2013
By

Since I have not posted in quite a while, I wanted to let everyone know that I am still alive and kicking.  The resurrection of excitement (opportunity) in the markets, quarterly reporting cycle, and the overwhelming number of unbelievable R/javascript releases have kept me from writing something good enough to justify a post.   In the markets, Japan and gold...

Read more »