Create 3D Scatter Plot -- Python Plotly

preview_player
Показать описание
Learn to create the 3D scatter plot in under 25 lines of code. We will also animate the plot, and save as html to share with others. Lastly, we will review when it is best to use or avoid the 3D plot. Open Links below...

View my book - The Book of Dash:

Code:

Data:

Data source:

3d Scatter Plot Documentation:

Plotly Marker symbol list:

Video Layout:
00:00 What you will learn
00:41 Goal of tutorial
03:31 the Data
05:41 the Code
07:16 Fundamental 1- Creating the 3D plot
11:38 Fundamental 2- Styling the 3D plot
22:46 Fundamental 3- Animation of 3D plot
30:03 Fundamental 4- Sharing your plot with others via HTML
31:55 Fundamental 5- Do's and Dont's of 3d plotting
Рекомендации по теме
Комментарии
Автор

Best tutorials on plotly !Thanks again

oiuchi
Автор

Thanks. Clearly explained and easy to follow.

sacthitheranga
Автор

Adam, thank you very much for your tutorials. Greetings from Argentina!

GeronimoAlbornoz
Автор

wow... after I watched this video... I totally did not want to learn about plotly anymore... I just wanted to know how to get those brilliant sounds that appeared when the bullet list continues in the beginning of the video :D

pascal
Автор

I want to ask is there any way to show the centroids plot (used in k-means) in the 3d scatter plot?

ayamyudhis
Автор

the scatter 3d doesn't show because of the log_x=True. What should i do? when i change the log into log_y and log_z it works

juanpetert-yuune
Автор

Hi, Your contents were so helpful!!
Is there a simple way to make a 3D-plot with same xyz-axis size? like a cube.

gangminkim
Автор

Hi, thanks for good
explanation. Do you know how to disable axies rotation duriong rotation of the scene >?

asadi_
Автор

HEYY.... CAN YOU EXPLAIN OR HELP ME TO SAVE THIS AS ANIMATION VIDEO FILE !?

axe.n_
Автор

Ha, in every video we can hear some police sirens XD

Lotaristo
Автор

Keep teaching us bro, have you thought about tutorial on dash mobile app?

johnylemon
Автор

This is awesome and i have learnt a lot so far.... I have somewhat of big data and i was looking to displaying my high dimensionality data points through through t_SNE on plotly.... any tip on how i could go about that ?

preciousogunje
Автор

is there a way to highlight a selected point ?

sathyanarayanankulasekaran
Автор

Hi can I do this with RGB values?

X = [1, 2, 3, 4]
Y = [1, 2, 3, 4]
Z = [1, 2, 3, 4]
C = np.array([[0, 0, 0], [0, 0, 128], [255, 255, 102], [0, 7, 65]])
fig = plt.figure()
ax = fig.add_subplot(111, projection = '3d')

ax.scatter(X, Y, Z, c = C/255.0)
ax.set_xlabel('x axis')
ax.set_ylabel('y axis')
ax.set_zlabel('z axis')
plt.show()

this but place my whole RGB colour list in C parameter? And changew X, Y, Z to n=(how many are in the list)

gochasethesunset
Автор

I'm trying to plot two sets of xyz data on the same 3D graph, Ik how to do this on pyplot but how can I do this on plotly? (I'm learning plotly bc I wanna share my graphs without sending people my whole code...)

wadewen
Автор

Please, go straight to the point....
(5:50 You're welcome!)

romniyepez