Pavelski said the credit for the surge should be spread around.
"Just good depth, we roll four lines," he said. "We're getting a lot of big nights out of certain lines at times, and everybody's played hard. We've gotten along really well, compete together and we like winning. This group likes winning and we'll try to continue that."
The Sharks have five players with more than 20 goals: Pavelski, Tomas Hertl (31), Evander Kane (27), Timo Meier (26) and Logan Couture (24). Defenseman Brent Burns leads San Jose in scoring with 73 points (13 goals, 60 assists).
Forward Joe Thornton had two assists Tuesday to pass Stan Mikita for 14th place on the NHL's all-time points list with 1,469 (411 goals, 1,058 assists). The 39-year-old has 42 points (14 goals, 28 assists) in 61 games this season.
Thornton said San Jose's depth is making a difference.
"We've got eight good [defensemen]," he said. "We've got 14 good forwards. We've got goalies that win us games. We're a very, very deep group, and that's hopefully going to spell playoff success for us."
San Jose had a seven-game winning streak from Jan. 2-15 but then lost three in a row and allowed six goals in each loss, to the Arizona Coyotes, Tampa Bay Lightning and Florida Panthers. The Sharks also gave up six goals in their next game, at the Washington Capitals on Jan. 22, but they rallied for a 7-6 overtime win and things changed from there.
Beginning with the win against Washington, San Jose has won 15 of 19 games and allowed 53 goals in that span (2.79 per game). In their first 51 games, the Sharks allowed 158 goals (3.10 per game).