Scatter plots with Matplotlib
I'm in the middle of taking a 6 week Data Visualization course at Code Academy so I guess you might call this a midterm project. In this jupyter notebook project, we have use real world space data (celestial star location ) for the Orion constellation and output a 3D scatter plot. This was fun but because it is an intro course, the project didn't even get to labeling the actual star which I thought was bunk.
At the end of the project, they offer you a link to some star data and challenge you to plot some local stars. So I decided to publish my results that I will end up turning in for the extra credit portion of the project. (code below)
I picked a few stars, starting with some familiar ones, like Sirius, and started plotting it out. It took a while to get the labels on correctly, for some reason, I thought it was going to be easy but it definitely took some searching as the 3D portion of it made finding the examples far more challenging than the standard 2D graphs. The output was cool.
However, the coolest thing about a 3D chart is being able to to turn and view it from any angle. I created an animation after another hour or so which was excellent. The final part and by far the most difficult was exporting the animation as a gif/video. That part I did outside of code and just used some other software. The matplotlib needs some help with that since it requires a third party software such as ImageMagik or FFMPEG.