The dollar rose on Monday against commodity currencies such as the Australian, New Zealand and Canadian dollars, while the safe-haven yen gained as disappointing economic data from China, political tension in Afghanistan, and the spreading Delta variant of the coronavirus weighed on risk appetite.