Creating Interactive Python Visualizations With Plotly and Pandas

Jupyter notebooks make it incredibly easy to rapidly prototype vizualizations and work with data. In this example I wanted to show how you can also make interactive data vizualizations with the Plotly Python library. For the data sourcing and transformations I will use pandas library.

I was absolutely blown away with how little code it took for me to set up some more advanced interactive features such as selectable date ranges and themes. Plotly visuals come with tooltips automatically turned on, so these data viz are not your average static images!

See below for my embedded jupyter notebook post! For the best viewing experience, you can access the file directly from your browser: http://zachrenwick.website/customposts/COVID19_Data_Viz_With_Plotly.html

I’ve tried to self-document my code with comments, so hopefully it is clear how to accomplish each step. If you have any questions, feel free to reach out.

Leave a Reply