Normalize templates in visualizations