In this task, you need to replace a letter in the sentence with another given letter.
Sentence: 'a view of a green bird almost invisible, hiding in a tree'. Replace the letter 'i' with 'd' in the sentence.