Emmanuel Macron won the French presidency over the right-wing nationalist Marine Le Pen in a sweeping victory that resounded across the country. The result bolstered the European Union and showed the limits of Ms. Le Pen’s far-right message.

% of communes reporting

Source: Interior Ministry of France 1 Ms. Le Pen’s anti-globalization platform was popular in places where deindustrialization has driven high poverty and unemployment. 2 Ms. Le Pen did well in parts of the southeastern coast, historically a stronghold of the National Front. 3 Mr. Macron racked up large margins in Brittany, where socialist voters were willing to support his centrist platform. 4 Mr. Macron won by a landslide in Paris and its affluent suburbs, where voters supported his pro-European Union, pro-business platform. 5 Mr. Macron did well in Ariège, wresting voters who had favored the defeated Jean-Luc Mélenchon in the first vote away from Ms. Le Pen.

Ms. Le Pen was strongest in areas with high unemployment and low wages, where she campaigned on pledges to stop immigration and renegotiate France’s relationship with the European Union.

Support for Ms. Le Pen Unemployment rate, 2016

But Mr. Macron, a political newcomer who campaigned on a centrist, pro-Europe platform, gained widespread support from voters who rejected him in the first round. The vote preserved a French political tradition of mainstream parties working together to bar candidates from the far right, known as the Republican Front. Many voters said they saw him as the lesser of two evils.

Ms. Le Pen’s only strong results were in areas in the north and south that she had won decisively in the first round. But Mr. Macron won most demographic groups over all: urban, rural, places with high unemployment and low unemployment. He won nearly 90 percent of the vote in Paris.

Voters Macron Le Pen Total 33.7 million 66.1% 35.4% Sparsely populated 12.9 59.6% 40.4% Densely populated 17.8 70.3% 29.7% Unemployment less than 10% 19.8 70.0% 30.1% Unemployment more than 10% 10.2 57.6% 42.4% Source: INSEE and Interior Ministry of France

The Rise of the Right

The issues that Ms. Le Pen raised are not going away. She gained twice the support that her father did when he ran for president in 2002, cementing the far right’s hold on the French political landscape.

Second-Round Presidential Election Results Republicans 46% En Marche! 66 53 82 53 48 Socialists 54 52 47 47 National Front 34 National Front 18 1988 1995 2002 2007 2012 2017 Second-Round Presidential Election Results En Marche! 66 53 82 53 48 Republicans 46% Socialists 54 52 47 47 National Front 34 National Front 18 1988 1995 2002 2007 2012 2017 Note: The Republicans party was named “Rally for the Republic” until 2002, “Union for a Popular Movement” until 2015, and “the Republicans” after that. Source: European Election Database and Interior Ministry of France