Skip to content

    Interactive Charts with Plotly and Domino

    on February 10, 2015

    We've used an IPython Notebook that uses Plotly's widgets to create beautiful interactive charts. Read on to see how you can use interactive charts in your own notebooks by using Domino as a central notebook engine — on premise behind your firewall, or in the cloud.

    HubSpot Video

    What We Did

    Domino lets you run IPython Notebook sessions on powerful cloud hardware (or your own centralized servers) without any setup. Our friends at Plotly gave us a great example notebook showing their notebook widgets, and we uploaded it to Domino so you can play with.

    To try it yourself:

    1. Start a new IPython Notebook session
      New IPython Notebook session

    2. Open the session
      opening an ipython session

    3. Open the notebook
      Opening a notebook

    4. Evaluate the cells and play around!

    Reflections

    One of our core engineering principles is to leverage existing technologies when possible, rather than reinvent the wheel. This is good for us, because it saves us from doing a lot of work! But it's also good for our users, because it means they get all the flexibility of existing tools, and benefit from improvements to the whole ecosystem.

    In this case: we choose to use IPython Notebook, rather than build our own notebook functionality. As a result, our users can take advantage of Plotly interactive widgets, without any extra engineering on our part. And now we have a great story for how you can use Domino to create interactive notebooks!

    Other posts you might be interested in

    Subscribe to the Data Science Blog

    Receive data science tips and tutorials from leading Data Scientists right to your inbox.