Equity markets rallied globally and the dollar weakened on Tuesday as Chinese trade data defied expectations of a deep downturn as a result of the coronavirus pandemic, igniting hopes that the global economy can march toward recovery, removing the safe-haven allure of the greenback.