United States made it five wins from six group matches at the Ice Hockey World Championships as Brock Nelson shone in Sunday's 3-1 win over Slovenia.

The New York Islanders man scored twice and assisted the other as USA prevailed in their Group B encounter.

"Our line has been working well for quite a few games now," said Nelson.

"I don't know what the secret is - it would be nice if we did - but I think we've played well from the get-go to create chances and capitalise on them. When you get a few early goals you build that chemistry."

"All through the game we did a good job of getting to the net," added Trevor Lewis. "That's where all the goals came from.

"Brock's a big strong guy and he was really good around the net tonight."

USA remain top of the group, one point clear of Russia, for whom Artemi Panarin struck an overtime winner in their 3-2 success over Slovakia.

In Group A, Canada maintained the only 100 per cent record in this year's competition by trouncing Switzerland 7-2, sealing top spot in the process.

Elsewhere in that group, hosts Czech Republic are level with Sweden, five points behind Canada after their 4-2 win over Germany.

The home nation twice came from behind to seal victory, the 43-year-old Jaromir Jagr claiming a goal and an assist.

"I think we're getting better every game," said captain Jakub Voracek. "We didn't have the start we wanted, but we worked hard for the full game and deserved to win."