clviewer, interactive plot of CMB spectra

python
astrophysics
Published

September 17, 2013

Today it was HackDay at .Astronomy, so I felt compelled to hack something around myself, creating something I have been thinking for a while after my previous work on Interactive CMB power spectra in the browser

The idea is to get text files from a user and load it in a browser-based interactive display built on top of the d3.js and rickshaw libraries.

Similar to nbviewer, I think it is very handy to load data from Github gists, because then there is no need of uploading files and it is easier to circulate links.

So I created a small web app, in Python of course, using Flask and deployed on Heroku. It just gets a gist number, calls the Github APIs to load the files, and displays them in the browser: