At least one of those killed died at the hospital, an official said.
A roadside bomb detonated in the primarily Shiite, middle-class neighborhood of Karradah - followed a couple of minutes later by a bomb in a nearby garbage can.
A police officer said the blasts also damaged seven shops and four parked cars. Like the rest of those who provided information, he spoke on condition of anonymity because he wasn't authorized to release information.
Many of the victims were teens or young adults and four were women, police and hospital officials said.
In other developments:
The dead included one police officer, while another four were wounded. The Bab al-Mudham district is a commercial area on the eastern side of the Tigris River.
Ahmadinejad, the first Iranian president to visit Iraq, said the foreign presence in the Arab country was an "insult to the regional nations and a humiliation."
The day before the Iranian president arrived, the chairman of the U.S. Joint Chiefs of Staff, Adm. Mike Mullen, came to Baghdad unannounced to visit with commanders and Iraqi officials.
On Saturday, Mr. Bush advised al-Maliki to tell the Iranian leader to "quit sending in sophisticated equipment that's killing our citizens."
Rear Adm. Gregory Smith, a military spokesman, reiterated Sunday that the U.S. hopes the Iranian-Iraqi meetings produce "real and tangible results," which in the American view would include Iran ending its alleged training and funding of extremists.
The tone among Ahmadinejad and his Iraqi hosts, meanwhile, was more than cordial.
"We had very good talks that were friendly and brotherly," Ahmadinejad said after meeting with Talabani, who greeted him with an honor guard and a band that played both countries' national anthems. "We have mutual understandings and views in all fields, and both sides plan to improve relations as much as possible."
After a meeting involving Ahmadinejad, al-Maliki and their advisers, the Iraqi prime minister said the visit was "an expression of the strong desire of enhancing relations and developing mutual interests after the past tension during the dictatorship era."
While both countries have a Shiite majority, their relationship has been checkered.