Chart gives us the power of Rickshaw from R. Rickshaw is one of the simple frameworks used for drawing charts with respect to time series data on a web page, built on top of Mike Bostock’s delightful D3 library. These charts can be powered by static historical data sets, or living data that continuously updates in real time.
Depicted below is a simple and complete code that reflects a Rickshaw chart from R. The js package dependencies will be handled by rCharts and added to our HTML file, so the R user will not need to worry about these. Follow the below given steps, to get a clear insight on rickshaw chart creation.
Step1: Import the libraries D3.min.js, D3.layout.min.js and rickshaw.min.js to our HTML file.
Step2: Within the Script tag, we are supposed to give parameters for creating the graph and then eventually rendering it.
The resultant graph is depicted below:
Demo page -: http://code.shutterstock.com/rickshaw/examples/extensions.html