This repo is a short example of
- scraping the web,
- cleaning data with Pandas and Python, and
- plotting the results in 3-D.
The example is the brighter stars within 50 light-years. The plot can be turned around interactively when it's run. Speaking of which: run the code in StarPlot.py on your machine by downloading it and typing
python StarPlot.py
at the command line in its directory. You'll have to be on the 'Net since it grabs the coordinates from http://www.atlasoftheuniverse.com/50lys.html. Also, please visit that page.
The result looks like this - depending how you rotate it of course. You'll see in the code how you can turn on labels for some stars.