Graph improved using JSON