Skip to contents
On this page

Updated 2026-11-30: the 2026-27 season, 24-29 games in per team. Early-season tables move a lot from week to week.

This page is rebuilt every week with the site. It builds the standings, charts goal differential with logos and ranks the points leaders with their headshots, for the latest NHL season with games: the season to date from October to April, the final regular season once it is over. Data: fastRhockey’s box-score releases and the NHL’s api-web.nhle.com standings.

Picking the season

NHL seasons are named by the year they end (2025-26 is 2026) and start in the fall, so until September the calendar points at the season that ended in June. For a season with no file yet fastRhockey::load_nhl_team_box() warns and returns no rows, and a new season’s file holds only preseason games at first, so the helper treats “no regular-season games” as “not published” and the page steps back one season. A game id’s fifth and sixth digits are its type: 02 is the regular season, 03 the playoffs. During the season the standings come from api-web.nhle.com as of today; once the regular season is over, as of its last day. That call goes through live(): if the API does not answer, the page shows a note in place of the standings and the goal-differential chart for that week instead of failing the site build.

library(sdvplotR)
library(dplyr, warn.conflicts = FALSE)
library(ggplot2)
library(gt)

today <- Sys.Date()
day_label <- function(day, month = "%b") sub(" 0", " ", format(as.Date(day), paste(month, "%d"))) # "Oct 5"
# fastRhockey names a season by the year it ends (2025-26 is 2026); it starts in
# the fall, so until September the calendar points at the season that ended in June
current <- as.integer(format(today, "%Y")) + (format(today, "%m") >= "09")
label <- function(season) sprintf("%d-%02d", season - 1, season %% 100)
# an NHL game id's fifth and sixth digits are its type: 01 preseason, 02 regular season, 03 playoffs
game_type <- function(game_id) (as.numeric(game_id) %/% 10000) %% 100

# A season's team box scores, or NULL when it has no regular-season games yet:
# load_nhl_team_box() warns and returns no rows for a season it has no file for,
# and a new season's file holds only preseason games at first
team_games <- function(season) {
  box <- tryCatch(suppressWarnings(fastRhockey::load_nhl_team_box(seasons = season)), error = function(e) NULL)
  if (NROW(box) == 0 || !any(game_type(box$game_id) == 2)) NULL else box
}

season <- current
box <- team_games(season)
if (is.null(box)) {
  season <- current - 1
  box <- team_games(season)
}
stopifnot(!is.null(box))

box <- mutate(box, game_date = as.Date(game_date), type = game_type(game_id))
last_regular <- max(box$game_date[box$type == 2])
playoffs <- filter(box, type == 3)
in_season <- season == current && nrow(playoffs) == 0
# games per team from the release file (they differ early on)
games_in <- paste(unique(range(table(box$team_abbrev[box$type == 2]))), collapse = "-")

# A live API call, or NULL when the API does not answer: one bad week then shows
# a note in place of a table instead of failing the whole site build
live <- function(expr) tryCatch(expr, error = function(e) NULL)
unavailable <- function(what, ok) {
  if (ok) "" else sprintf("*%s were unavailable when this page was built on %s; they return next week.*", what, today)
}
# api-web.nhle.com standings: as of today in season, as of the last regular-season day after it
standings <- live(fastRhockey::nhl_standings(date = if (in_season) NULL else format(last_regular)))
standings_ok <- NROW(standings) > 0
if (in_season) {
  status <- sprintf(
    "the %s season, %s games in per team. Early-season tables move a lot from week to week.",
    label(season), games_in
  )
  through <- sprintf("through %s (%s games in)", day_label(last_regular), games_in)
} else if (season < current) {
  status <- sprintf(
    "the offseason, so this is the final %s regular season; the %s season has no regular-season games yet.",
    label(season), label(current)
  )
  through <- "final regular season"
} else if (as.numeric(today - max(playoffs$game_date)) <= 10) {
  status <- sprintf("the final %s regular season; the playoffs are under way.", label(season))
  through <- "final regular season"
} else {
  status <- sprintf("the offseason, so this is the final %s regular season.", label(season))
  through <- "final regular season"
}

1. Standings

Grouped by division in the NHL’s own order. gt_sdv_logos() reads the NHL’s three-letter team codes (LAK, NJD, TBL) through sdvplotR’s aliases, so nothing is mapped by hand.

standings |>
  arrange(division_name, division_sequence) |>
  transmute(
    division = division_name,
    logo = team_abbr,
    team = team_common_name,
    gp = games_played, w = wins, l = losses, otl = ot_losses,
    pts = points, pts_pct = point_pctg,
    gf = goals_for, ga = goals_against, diff = goal_differential,
    l10 = paste(l10_wins, l10_losses, l10_ot_losses, sep = "-"),
    streak = paste0(streak_code, streak_count)
  ) |>
  gt(groupname_col = "division", id = "nhl-standings") |>
  tab_header(
    title = paste("NHL standings,", label(season)),
    subtitle = paste0(toupper(substr(through, 1, 1)), substring(through, 2))
  ) |>
  fmt_number(pts_pct, decimals = 3) |>
  fmt_number(diff, decimals = 0, force_sign = TRUE) |>
  cols_label(
    logo = "", team = "Team", gp = "GP", w = "W", l = "L", otl = "OTL", pts = "PTS",
    pts_pct = "PTS%", gf = "GF", ga = "GA", diff = "DIFF", l10 = "Last 10", streak = "Streak"
  ) |>
  tab_source_note("Data: api-web.nhle.com via fastRhockey | Viz: sdvplotR") |>
  gt_sdv_logos(columns = logo, league = "nhl", height = 24) |>
  gt_theme_swiss()
NHL standings, 2026-27
Through Nov 29 (24-29 games in)
Team GP W L OTL PTS PTS% GF GA DIFF Last 10 Streak
Atlantic
Ottawa Senators Senators 28 17 8 3 37 0.661 92 81 +11 6-2-2 L1
Tampa Bay Lightning Lightning 26 16 8 2 34 0.654 89 78 +11 5-5-0 W1
Boston Bruins Bruins 26 16 9 1 33 0.635 90 71 +19 5-5-0 W1
Florida Panthers Panthers 27 15 9 3 33 0.611 85 78 +7 6-3-1 L1
Montreal Canadiens Canadiens 27 14 9 4 32 0.593 80 85 −5 3-6-1 L4
Buffalo Sabres Sabres 26 11 11 4 26 0.500 81 90 −9 3-6-1 L1
Toronto Maple Leafs Maple Leafs 28 10 14 4 24 0.429 87 96 −9 2-6-2 OT1
Detroit Red Wings Red Wings 26 10 13 3 23 0.442 69 75 −6 3-7-0 L1
Central
Minnesota Wild Wild 29 18 5 6 42 0.724 103 69 +34 6-2-2 L1
Colorado Avalanche Avalanche 26 16 7 3 35 0.673 106 74 +32 7-1-2 W4
Nashville Predators Predators 26 14 6 6 34 0.654 82 78 +4 7-2-1 W1
Dallas Stars Stars 26 16 8 2 34 0.654 76 68 +8 7-3-0 W1
Winnipeg Jets Jets 28 14 10 4 32 0.571 87 89 −2 7-2-1 L1
St. Louis Blues Blues 27 14 10 3 31 0.574 90 87 +3 7-2-1 L1
Utah Mammoth Mammoth 28 14 11 3 31 0.554 96 100 −4 4-4-2 L1
Chicago Blackhawks Blackhawks 27 11 14 2 24 0.444 72 100 −28 7-2-1 W5
Metropolitan
Carolina Hurricanes Hurricanes 26 20 3 3 43 0.827 106 58 +48 8-1-1 W4
New Jersey Devils Devils 27 19 8 0 38 0.704 101 81 +20 7-3-0 W4
New York Islanders Islanders 26 13 8 5 31 0.596 79 73 +6 6-2-2 W1
New York Rangers Rangers 26 14 11 1 29 0.558 72 70 +2 6-4-0 W1
Philadelphia Flyers Flyers 29 10 13 6 26 0.448 76 99 −23 6-3-1 L1
Washington Capitals Capitals 24 12 12 0 24 0.500 85 90 −5 4-6-0 W1
Pittsburgh Penguins Penguins 26 9 15 2 20 0.385 79 92 −13 4-6-0 W2
Columbus Blue Jackets Blue Jackets 24 9 14 1 19 0.396 58 76 −18 2-7-1 L1
Pacific
Edmonton Oilers Oilers 29 18 7 4 40 0.690 109 88 +21 5-4-1 W1
Vegas Golden Knights Golden Knights 28 16 7 5 37 0.661 97 84 +13 5-2-3 W1
Seattle Kraken Kraken 24 12 10 2 26 0.542 77 81 −4 4-5-1 OT1
San Jose Sharks Sharks 29 12 15 2 26 0.448 78 108 −30 5-4-1 L1
Anaheim Ducks Ducks 28 12 15 1 25 0.446 103 105 −2 2-8-0 L2
Calgary Flames Flames 28 11 15 2 24 0.429 70 95 −25 3-6-1 L2
Los Angeles Kings Kings 24 10 12 2 22 0.458 70 78 −8 5-5-0 W3
Vancouver Canucks Canucks 29 6 21 2 14 0.241 80 128 −48 3-6-1 OT1
Data: api-web.nhle.com via fastRhockey | Viz: sdvplotR

2. Goal differential

Goals for minus goals against, all 32 teams, in team colors; scale_x_sdv() and theme_x_sdv() swap the team codes on the x axis for logos.

gd <- standings |>
  mutate(team = sdv_resolve(team_abbr, league = "nhl")) |>
  arrange(desc(goal_differential), team) # the team breaks a tie, so an unchanged week renders the same

ggplot(gd, aes(x = factor(team, levels = team), y = goal_differential, fill = team)) +
  geom_col(width = 0.75) +
  geom_hline(yintercept = 0, colour = "grey20", linewidth = 0.4) +
  scale_fill_sdv(league = "nhl", guide = "none") +
  scale_x_sdv(league = "nhl", size = 20) +
  labs(
    title = paste("NHL goal differential,", label(season), through),
    subtitle = "Goals for minus goals against",
    x = NULL, y = "Goal differential",
    caption = "Data: api-web.nhle.com via fastRhockey | Viz: sdvplotR"
  ) +
  theme_minimal(base_size = 13) +
  theme(
    plot.title = element_text(face = "bold"),
    panel.grid.major.x = element_blank(),
    panel.grid.minor = element_blank()
  ) +
  theme_x_sdv()

Bar chart of every NHL team's goal differential, best to worst, each bar in the team's primary color with the team's logo under it on the horizontal axis.

3. Points leaders with headshots

Goals and assists from the regular-season skater box scores, stacked into points. The box scores carry NHL API player ids, which geom_sdv_headshots(id_system = "league") turns into the NHL’s own headshots; the game rosters give the full names.

skaters <- fastRhockey::load_nhl_player_box(seasons = season) |>
  filter(game_type(game_id) == 2)
full_names <- fastRhockey::load_nhl_game_rosters(seasons = season) |>
  distinct(player_id, full_name) |>
  filter(!duplicated(player_id))
stopifnot(identical(class(skaters$player_id), class(full_names$player_id)))

leaders <- skaters |>
  arrange(game_date, game_id) |>
  group_by(player_id) |>
  summarise(
    team = last(team_abbrev), gp = n(),
    goals = sum(goals), assists = sum(assists), points = sum(points),
    .groups = "drop"
  ) |>
  arrange(desc(points), desc(goals), player_id) |>
  slice_head(n = 10) |>
  left_join(full_names, by = "player_id") |>
  mutate(full_name = factor(full_name, levels = rev(full_name)))
top <- max(leaders$points)

bars <- tidyr::pivot_longer(leaders, c(goals, assists), names_to = "part", values_to = "n") |>
  mutate(part = factor(part, levels = c("assists", "goals"), labels = c("Assists", "Goals")))

ggplot(leaders, aes(y = full_name)) +
  geom_col(data = bars, aes(x = n, fill = part), width = 0.7) +
  geom_sdv_headshots(
    aes(x = -0.07 * top, player_id = player_id),
    league = "nhl", id_system = "league", height = 0.085
  ) +
  geom_sdv_logos(aes(x = points + 0.06 * top, team = team), league = "nhl", height = 0.06) +
  geom_text(aes(x = points + 0.12 * top, label = points), hjust = 0, fontface = "bold", size = 3.8) +
  scale_fill_manual(values = c(Goals = "#1f3b73", Assists = "#9fb4d8"), breaks = c("Goals", "Assists")) +
  scale_x_continuous(limits = c(-0.14 * top, 1.22 * top), expand = c(0, 0)) +
  labs(
    title = paste("NHL points leaders,", label(season)),
    # the box-score release can trail the live standings by a day or two
    subtitle = paste0(
      "Goals and assists, regular season",
      if (in_season) paste(", games through", day_label(max(skaters$game_date))) else ""
    ),
    x = "Points", y = NULL, fill = NULL,
    caption = "Data: fastRhockey box scores | Viz: sdvplotR"
  ) +
  theme_minimal(base_size = 13) +
  theme(
    plot.title = element_text(face = "bold"),
    panel.grid.major.y = element_blank(),
    panel.grid.minor = element_blank(),
    legend.position = "top", legend.justification = "left"
  )

Stacked horizontal bar chart of the ten NHL points leaders, goals in dark blue and assists in light blue, with each player's headshot at the left of the bar, the team logo at its end and the points total beside it.

4. Interactive version

The goal differential bars from section 2 as a plotly chart: hover a bar for the team’s record and its goals for and against. plotly draws no logos on its own, so sdv_axis_logos() hides the team codes and puts a logo under each bar.

plotly::plot_ly(
  gd, x = ~factor(team, levels = team), y = ~goal_differential, type = "bar",
  marker = list(color = unname(sdv_team_colors("nhl", gd$team))),
  hoverinfo = "text", textposition = "none",
  text = ~sprintf(
    "%s, %d-%d-%d<br>%d goals for, %d against (%+d)",
    team_common_name, wins, losses, ot_losses, goals_for, goals_against, goal_differential
  )
) |>
  plotly::layout(
    title = list(text = paste("NHL goal differential,", label(season)), x = 0.02),
    xaxis = list(title = ""), yaxis = list(title = "Goal differential"),
    margin = list(b = 50, t = 50)
  ) |>
  sdv_axis_logos(gd$team, "nhl")

More recipes like this one, in plotly, ggiraph, leaflet and reactable, are in Interactive charts.

  • NHL walks through fastRhockey and sdvplotR more broadly.
  • MLB builds the same three views for baseball.
  • Social graphics, automated posts leaderboards like these on a schedule.

Citation

To cite the sdvplotR R package in publications, use:

BibTeX Citation

@misc{gilani_carl_lee_kay_weatherman_sdvplotR,
  author = {Gilani, Saiem and Carl, Sebastian and Lee, Jared and Kay, Camden and Weatherman, Andrew},
  title = {sdvplotR: The SportsDataverse's R Package for Multi-League Sports Plotting.},
  url = {https://sdvplotR.sportsdataverse.org},
  year = {2026}
}