How to Create Interactive 2D Charts for Stock Investment Analysis with Python

Bee Guan Teo
Geek Culture
Published in
6 min readMay 31, 2021

--

Photo by Yiorgos Ntrahas on Unsplash

A high-quality graphical visualization of stock price movement and analysis is indispensable in stock investment. In this tutorial, you will be introduced to a powerful yet user-friendly 2D plot library, Cufflinks. It is an open-source 2D library that is specially dedicated to financial visualization. This library combines the power of Plotly with the flexibility of Pandas for easy plotting.

Instead of a static plot, Cufflinks enable us to develop a professional interactive 2D plot that permits a user to use the inbuilt toolbox to pan and zoom into any graph region to observe further details.

Image prepared by the author

In this article, I will go through a step-by-step procedure to demonstrate how we can leverage some useful features of Cufflinks to create some interactive 2D plots for stock investment analysis.

Disclaimer: The writing of this article is only aimed at demonstrating the steps to build some interactive 2D plots for stock investment analysis with Python. It doesn’t serve any purpose of promoting any stock or giving any specific investment advice.

Prerequisite Python Libraries

--

--