A sick girl is home in her room in a building or high rise apartment. In order to pass the time she looks out at windows in the building across from her. Based on what she can see she (torn blind, potted plant) imagines what’s going on in the apartments.
One apartment has a plant family who walk around in dirt. One has a dog who sits at a typewriter all day.
This was a favorite book of mine as a child in the 70’s.
Maybe What the Wind Told by Betty D. Boegehold. The wind discusses the people and creatures living behind six different windows.
https://www.goodreads.com/book/show/858224.What_The_Wind_Told?from_search=true&search_version=service
Look by Michael Grejniec?