setting up visualization of api