from matplotlib import pyplot as plt
import pandas as pd 
 
plt.style.use('seaborn')

data = pd.read_csv('2019-05-31-data.csv')
view_count=data['view_count']
likes=data['likes']
ratio=data['ratio']

plt.scatter( view_count,likes, c= ratio, cmap='summer',edgecolor='black',linewidth=1,alpha=0.75)
cbar=plt.colorbar()
cbar.set_label('Like/Dislike Ratios ')
plt.xscale('log')
plt.yscale('log')

plt.title( " YOU TUBE VIDEOS")
plt.xlabel("VIEWS ")
plt.ylabel("TOTAL LIKES ")


plt.tight_layout() 
plt.show()
 