Wouldn't `generate_visualization_dict` be a more appropriate name?