Code for cloud visualization plugin