made graph interactive