I am new to Python and have worked my way through a few books on it. Everything is great, except visualizations. I really dislike matplotlib and Bokeh requires too heavy of a stack.
The workflow I want is:
Data munging analysis using pandas in ipython notebook -> visualization using d3 in sublimetext2
However, being new to both Python and d3, I don't know the best way to export my pandas dataframe to d3. Should I just have it as a csv? JSON? Or is there a more direct way?
Side question: Is there any (reasonable) way to do everything in an ipython notebook instead of switching to sublimetext?
Any help would be appreciated.
df.to_json
ordf.to_csv
for moving the data around. There's vincent for a python -> vega translator (it supports DataFrames well). And another project of Rob's, sticky, is in alpha, but it sounds like what you want for not leaving the IPython notebook. – Tyrus