CARACAS, Venezuela — In a modest brown wood coffin covered in a Venezuelan flag, President Hugo Chávez was carried through the capital, Caracas, on Wednesday morning as crowds thronged the streets, cabinet ministers and top military officials walked alongside his black hearse, while hundreds of soldiers in green fatigues and other supporters followed in the yellow, blue and red caps of the national colors.