controller sends data to visualizer