Here is how to write Yamagata in Japanese characters. Also the list of cities in Yamagata. All the data come from Japan post.
All the cities in Yamagata. Each city has the link to see deeper.