Create 3D Scatter Plot -- Python Plotly
Charming Data
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...
Code: https://github.com/Coding-with-Adam/Dash-by-Plotly/blob/master/Plotly_Graphs/3d_scatter/scatter3d.py
Data: https://drive.google.com/file/d/1MeFml1fhEuqd6eFBMWGe8bIznP7lwBWI/view?usp=sharing
Data source: https://ourworldindata.org/
3d Scatter Plot Documentation: https://plotly.com/python/3d-scatter-plots/#3d-scatter-plot-with-plotly-express https://plotly.com/python-api-reference/generated/plotly.express.scatter_3d.html#plotly.express.scatter_3d
Plotly Marker symbol list: https://plotly.com/python/reference/#scatter-marker-symbol
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 ... https://www.youtube.com/watch?v=-Mx89Jcn2E4
168658221 Bytes