block by timelyportfolio bbfeb9bafe6a31104fb9327667a2abc8

d3fc for R as htmlwidget (try drag)

Full Screen

Install

devtools::install_github("timelyportfolio/rd3fc")

Example

quantmod is an superpower of R. Let’s remember how few lines of code we need to make a static candlestick chart.

library(quantmod)

getSymbols("^GSPC", from = "2016-12-31")
chart_Series(GSPC)

I view this as simply amazing, but the only thing missing is some interactivity. rd3fc plans to eventually complete translate chart_Series to an interactive chart, but for now it will just produce the candlestick.

library(rd3fc)
# will use the current.chob() if no arguments
chartseries()

forked from timelyportfolio‘s block: d3fc for R as htmlwidget