Here's a both functional and grammatical representation; tell us what you think about it.
The place where she had spent what was left of her childhood?
-The place (noun phrase) ---->(Article + noun)
-where she had spent (noun clause modifying the above noun phrase)---->(pronoun + sentence)
-what was left (noun phrase functioning as a direct object)---->(pronoun + to be + participle as adjective)
-of her childhood (prepositional phrase modifying the above noun phrase to delimit it)---->(preposition + possessive + noun )