The Magic School Bus Lost in the Solar System is the fourth book in the original book series.
Arnold's cousin Janet joins Ms. Frizzle's class for the class trip to the planetarium. But after arriving to find that planetarium is closed for repairs, the Friz decides to launch the bus into space and steers it around the solar system, visiting the moon, Mercury, Venus and Mars before an asteroid knocks out one of the taillights.
When Ms. Frizzle leaves the bus to investigate, her tether breaks. She gets left behind in the asteroid belt, and the students visit the outer planets without her.
With Janet's quick thinking and use of supply, the class manages to turn the bus around, reconnect with Ms. Frizzle and return to the classroom, making a chart and mobile based on their discoveries.