Add event to visualizer