Completed basic directive for loading graph (need to make it responsive