How Canada voted - in charts

Mark Carney's Liberal Party is expected to win enough seats in the House of Commons to form a government in Canada. However, they are still short of the majority they wanted.
Carney is set to remain prime minister, having only assumed the role in early March following Justin Trudeau's resignation.
His main rival, Conservative leader Pierre Poilievre, is projected to have lost his own seat as has Jagmeet Singh, leader of the New Democratic Party (NDP).
Carney's Liberals are leading in 168 seats but would need 172 for a majority.
The Conservatives are set to remain in opposition as the second-largest party and are leading in 144 seats, with 99% of polls having reported results.
Bloc Québécois is leading in 23 seats and only runs candidates in the province of Quebec. The NDP is leading in seven seats and the Green Party in one.
Both the Liberals and the Conservatives have seen a significant rise in their share of the national vote compared with four years ago.
Increased support for Canada's two largest parties has come at the expense of smaller parties, particularly the New Democratic Party (NDP) whose share of the popular vote is down by around 12 percentage points.

The increased support for the Conservatives was not enough to save Mr Poilievre, who is projected to have lost his own seat in Carleton, Ontario.
The 45-year-old had promised a return to "common sense politics".
Opinion polls at the start of the year had the Conservatives over 20 percentage points ahead of the Liberals. But after the resignation of former Liberal Prime Minister Justin Trudeau and the arrival of new PM Mark Carney and the tariffs announced by US President Donald Trump, that lead evaporated.
In his own seat, Mr Poilievre had 90 opponents, mostly independent candidates linked to a group calling for electoral reform.
The NDP's leader, Jagmeet Singh, also lost his own seat in the House of Commons and came third behind the Liberal and Conservative candidates.
Canada has a "first-past-the-post" electoral system.
The candidate who gets the most votes in each electoral district, or riding, wins that seat and become a Member of Parliament (MP).
The Liberals and the Conservatives have dominated the popular vote, with both parties receiving more than 40% each of ballots counted across Canada so far.
This has them on track to win a combined 90% of seats.
The NDP has received just over 6% of the total vote declared so far, but this translates to just 2% of seats in the House of Commons.
Bloc Québécois has just over 6% of the vote and a similar share of seats.

The Liberals are on course to win the most seats in the key provinces of Ontario and Quebec, which account for 200 of Canada's 343 electoral districts.
The Conservatives are ahead in Alberta, while there is little to choose between the two main parties in British Columbia.

One of the most closely-watched areas was around Toronto. The "905" are places that all share the same telephone code.
While the Liberals are projected to have won in most of Toronto, including a seat they lost in a by-election last year, the Conservatives were able to flip some of the ridings in the surrounding region.
The NDP are also projected to have lost a seat, Hamilton Centre, that they'd held for over 20 years.

After Ontario, Quebec is the second most populated province of Canada and has a big impact on the results of federal elections.
Bloc Québécois, which focuses on Quebec interests and only runs candidates in the province, was defending 35 seats, a number which changed after boundaries were reviewed. It is projected to have lost 12.
Most of those have flipped to the Liberal party while one is narrowly projected to have gone to the Conservatives.
In Montmorency-Charlevoix, the Conservatives were leading the Bloc by 688 votes, with just one more poll left to report.
The riding of Abitibi-Baie-James-Nunavik-Eeyou is one of the largest in Canada by land area and is projected to have flipped from the Bloc to the Liberals.
The NDP held on to their seat in Rosemont-La Petite-Patrie in Montreal.

About two-thirds of registered electors voted, according to the preliminary results from Elections Canada. This is in up on the last election in 2021 and similar to 2015 and 2019.
More than 7 million Canadians cast their ballots in advance, setting a new record for early voter turnout, Elections Canada said.

- LIVE: Follow BBC's coverage of the election
- RESULTS: How Canada voted - in charts
- ANALYSIS: Why Carney's Liberals won - and the Conservatives lost
- WATCH: How Canada’s election night unfolded
- PROFILE: Who is Mark Carney, Canada's new PM?
- VOTERS: How I decided who gets my vote
- US VIEW: A turnaround victory made possible by Trump