Visualization function finished.