The movie and the book are similar and different.
The First similar detail is that both setting are on Venus.Another one is that when they go out after it rained they only go out for an hour.Also, in both the story and movie Margot gets locked in a closet.In both the story and the book someone is mean to Margot.
Some differences are that in the book no one gave Margot flowers but in the movie they didn’t.In the movie they give more detail about the sun lamps and they have sun kits.Also instead of 7 years it is 9 years in the movie.Another reason is that in the book Margot is more frail.They also give more character details in the movie. Those are my similarities