Generating the cluster plot