Before lauching the code please install the following packages : install.packages(pacman) install.packages(quantmod) install.packages(plotly) Sample of interactive charts in this code :