somebody or something that appears unattractive or unpromising but turns out to be admirable or successful
[from The Ugly Duckling, story by Hans Christian Andersen d.1875, Danish writer, in which an ugly young bird thought to be a duckling grows into a beautiful swan]