The difference of the poems of Walt Whitman
and Emily Dickinson is that Whitman uses
personification, whereas Dickinson avoids
figurative language. Whitman incorporates
transcendentalism and realism in his works. On the other hand, Dickinson's poems talks about death and immortality.
Hope that helps! Have a good day :)