I was trying to plot dynamic graph in different panels as it could be done on the website using group such as
group
but it should be dynamic using dygraphs.
Create multiple charts, using the synchronization feature here
synchronization
To view it as one document, you will need to knit an HTML page. Look at this SO answer for details.
knit
Your final result would be like this.