In the 2016 census, 1.8 million people reported being of Chinese origin. Despite their importance to the Canadian economy, including the construction of the Canadian Pacific Railway (CPR), many European Canadians were historically hostile to Chinese immigration.
They risked their lives to help build Canada's railway in the 1880s. But as soon as the work was done, Canada just wanted them gone. It was the beginning of a difficult history for Chinese immigrants to Canada. They struggled through the head tax, personal attacks and job discrimination.
It was assumed that Chinese people were too poor to pay and therefore would not be able to come to Canada. Merchants and students were exempt from the tax. No immigrants from any other country ever had to pay such a tax to enter Canada.