Global shares rise on strong U.S. equities, factory data