Refactoring previous work on visualising web stats
Developing D3 frontend