Question: help in python , Data Visualization. Pandas hi, i need to plot a polar graphusing python on anaconda jupyter notebook. i tried but i got

help in python, Data Visualization. Pandas

hi, i need to plot a polar graphusing python on anaconda jupyter notebook. i tried but i got something wrong plz i need help:

----------------------------------------------------------------------------------------

here is what i did:

fig = plt.figure(figsize=(10,10)) ax = fig.add_subplot(111,polar=True) values_q = [.41,17/64,1,.84,.41] values_h = [.05,1,7/15,.97,.05] angles = np.linspace(0,2*np.pi,len(values_q)) categories = ['director_facebook_likes', 'num_user_for_reviews', 'num_user_for_reviews', 'movie_facebook_likes']

ax.plot(angles,values_q,linewidth=6,label='genres') ax.fill(angles,values_q,alpha=.3)

ax.plot(angles,values_h,linewidth=6,label="gross") ax.fill(angles,values_h,alpha=.3)

ax.set_xticks(angles) ax.set_xticklabels(categories)

ax.legend()

plt.show()

-----------------------------------------------------------------------------------------------

here is the link do download the data:

https://drive.google.com/file/d/1HjiDihyzDb-4FpTkcAtCI059nk8j2-VU/view

--------------------------------------------------------------------------------------------

please note that the data that i want to include in the graph is bolded

-------------------------------------------------------------------------------------------

in case it's hard for you to do exactely what i asked for, you can create another polar graph choosing another informations from the same data that i provided.

thank you in advance

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!