made json for all other visualisation periods and added ajax stub