Pandas is the library we use to load an manipulate data. Bokeh is an awesome interactive graphing library. Now lets load the data.

df = pd.read_csv('./data.txt', delimiter=" ")

Use whatever filename you have instead of data.txt. The delimiter variable should be set to whatever the delimiter is in your file (normally commas or spaces). Here its spaces, for commas you would use pd.read_csv('./data.txt', delimiter=",")

Now we simply turn the pandas dataframe into a source for the bokeh plot and the graph it.

p = figure() p.line(x='x-axis', y='y-axis', source=source) show(p)

and we get a cool graph!

We can also add text to cells by highlighting a cell and clicking Cell > Cell Type > Markdown from the navbar. You can then use markdown to type notes or explainations.

Then share your post with the world

Its easy to embed your post in any html document. I've embedded an example notebook in this docs page!