All examples By author By category About

timelyportfolio

R finance charts with the svgPanZoom htmlwidget

Pan and Zoom Financial Charts in R

The svgPanZoom htmlwidget featured in WEEK 02 | PAN & ZOOM R PLOTS claims that it easily adds pan and zoom interactivity to nearly all R graphs. Here we try out svgPanZoom on a couple of finance charts.

Live Examples

  1. Efficient Frontier from fPortfolio
  2. Snail Trail from PerformanceAnalytics

Code to reproduce code.r

Source Data from Yahoo! Finance using quantmod