For HopHacks last weekend, I wrote an HTML5 night sky viewer. Using D3.js and SunCalc, the 750 brightest stars are rendered using SVG and Javascript. One’s location can either be found using the HTML5 Geolocation API, or it can be entered manually. The keyboard is used to navigate, and mousing over a star will display some information about it. As it was written in a weekend, there may be bugs.
Here is the viewer:
https://mpetroff.net/files/nightsky/
The code is available on Github.
Great night sky!
Only bug I can see so far is the position and size of the moon