What the setting of ugly duckling?

The setting of the story "The Ugly Duckling" is a peaceful and idyllic farmyard. The story begins in a duck family, where a large swan egg hatches, revealing an exceptionally large and ugly duckling compared to the other ducklings. The setting includes the farmyard, the surrounding fields and meadows, a tranquil pond, and the cozy barnyard where the ducklings sleep. The story follows the ugly duckling as he journeys beyond the farmyard, exploring different environments, including a marshy swamp, a forest, and a frozen lake, before finally finding his true home among a flock of swans.