add dataframeToD3 helper function
Merge pull request #9 from ramnathv/feature/dataframe-to-d3

dataframeToD3 helper function