add activity number chooser, link d3 to app, fix logic bugs, add loading bar