On last NEPSE tutorial, we scraped the company detail and daily stock price from 2010 to 2017. In this tutorial we will be using company detail data to make the above beautiful visualization. I have chosen swarmplot on sectors vs market capital. I like swarmplot as its gives information about distribution and number of data point on same plot.
We will be using matplotlib and seaborn packages in python.
You can download data from github/bkrmdahal/nepse.
Code for above plot:
Quote from book I am reading.
Everywhere you turn you see Americans(everyone) sacrifice their long-term interests for a short-term reward.― Michael Lewis, Boomerang: Travels in the New Third World
No comments:
Post a Comment