an example of how to write and visualize data on the 1self api