In [12]:
import bearcart
import pandas as pd

html_path = r'index.html'
data_path = r'data.json'
js_path = r'rickshaw.min.js'
css_path = r'rickshaw.min.css'


#All of the following import code comes from Wes McKinney's book, Python
#for Data Analysis

import pandas.io.data as web
jpy = web.DataReader('DEXJPUS', 'fred')

In [13]:
jpy.plot()


Out[13]:
<matplotlib.axes.AxesSubplot at 0x3db2510>

In [14]:
vis = bearcart.Chart(jpy)
vis.create_chart(html_path=html_path, data_path=data_path,
                 js_path=js_path, css_path=css_path)

In [16]:


In [14]: