ShiftChart Run Through
ShiftChart.com, as you can guess from the name, is a website that basically gives shift charts for individual NHL games run by Sai Okabayashi (@saipuck) and Erik Iverson (@erikiverson). The basis behind visual shift charts isn’t all that new — NHL.com used to have them and timeonice.com is another resource for visual shift charts. What I like about ShiftChart, though, is how interactive it is. There’s a good variety of simple analytical tools and visualization methods. It’s pretty awesome and gives a perspective of the game that isn’t as clear through other hockey stats websites like behindthenet.ca or extraskater.com.
With that said let’s get started!
By default ShiftChart automatically loads the most recent game.
At the top right is the navigation bar.
[Recent] gives recent games, the [2014-05-21] button is the calendar button, which you bring you to a calendar for selecting dates. The arrow buttons go forward and back a day. After selecting a date, the blue button should display the number of games played that day, which you can then select to view.
For the purposes of this run through, I’m going to stick with the Kings @ Blackhawks WCF Game 2.
Let’s look at that shift chart again.
By default, all shift charts are shown with [Sort players] set to [On Ice] and toggled to show [Shifts]. We’ll go into this in detail later. For now let’s concentrate on how the shift chart itself looks. This default view is pretty intuitive. In this chart, red boxes are used for the Blackhawks players and white boxes are used for the Kings. Small ticks in the boxes represent the one minute mark.
These shift charts also show penalties and goals for both teams. Here, the crosshatched black areas show Kings penalties (Blackhawks on the PP) and the red shaded areas show Blackhawks penalties (Kings on the PP). Goals are the bold vertical lines, red for Blackhawks, black dashed for Kings. The goal scorer has a small G label for the shift on which they scored the goal, and players with assists have a similar small A label.
What makes ShiftChart.com cool though is what you can do with this relatively standard shift chart. One of the first things is that it allows you to ‘watch’ the game by shifts. Notice the blue bar at the left with a [Period 1 0:00] box floating above it? That’s the clock cursor, and it basically functions as a tracking bar for indicating where in the game you are. The players displayed in the top 10 rows in [On Ice] sort show who the players are on the ice at that time.
Here’s the playback bar. The [|<<] button resets the clock to Period 1 20:00, the [|<] button brings you to the previous goal, the [>|] button to the next goal, and [>] ‘plays’ the game. Here it is in action:
While in [On Ice] sort, ShiftChart also has information overlays that can be added in the little gear icon at the upper right. There are two options for overlays, [Shift Length] and [Shot Attempts] :
The [Shift Length] overlay is pretty straight forward: it simply adds the length of the shifts on top of the chart. The [Shot Attempts] overlay, to anyone who is interested in #fancystats, is more interesting. To anyone who’s used the Corsi or Fenwick game charts on ExtraSkater, this’ll look pretty familiar. There’s one key difference though — ShiftChart diagrams each individual shot with a large green dot. If you hover over the dot, it’ll tell you who shot it and whether it was a normal Shot, a Block, a Miss, or a Goal.
Now let’s move from the actual shift chart and check out some of the graphs on the right hand side.
Here’s are the charts for Drew Doughty. The top third gives you some pretty standard data. The middle third shows two graphs — one for the number of shifts he played by period (Doughty, as the King’s top defensemen, played >10 shifts in all three periods) and one of the total number of minutes he played by period.
Get ruru’s stories in your inbox
Join Medium for free to get updates from this writer.
The last graph is a histogram (which is a fancy way of saying bar graph) of shift length frequencies. Basically, this shows how many times the player played a shift of any given length. For example, Doughty played 7 shifts of roughly 40-50s, and most of his shifts were between 30-80s long.
Of course, since the point of ShiftCart is to be interactive, you can also drag your cursor through the histogram and select a range of shift lengths you might be particularly interested in looking through, and the Shifts by Period graph will change to display only that data. For example, if I only select the 120s shift on Doughty’s chart, I can find out that it occurred in the first period.
Most of what we’ve covered so far has been pretty standard to how shift charts are generally visualized, but ShiftChart also allows for alternative visualizations of shifts and time on ice data. The first way is through the [Sort Players] menu at the top left corner just under the logo.
The options are [Number], which as expected sorts the players by the number they wear. [Position] sorts the players in order of C(enter), R(ight Wing), L(eft Wing), and G(oalie). [On Ice] is the default view, and shows the players who are ‘on the ice’ in the top 10 rows. [Total ice time by team] and [Total ice time overall] are pretty self explanatory.
So why do we need these sort methods? The first is simply for easy data extraction -if I’m trying to find Jonathan Toews’s shift data, I can simply organize players by number and voila, there’s 19.
The second is because in conjunction with the [Total TOI] toggle next to the [Sort players] menu we can easily see how much a player’s been used. Here, I’ve sorted by [Total ice time overall] with the [Total TOI] toggled:
Pretty nifty huh? We can delve deeper into some of this TOI data with the compare tool to the left of the overlay options icon. If you select a single player (their ‘row’ should be highlighted orange) and click [Compare] -> [Total TOI] you get this:
We now have a diagram of how often this player’s shift time overlapped with every other player in the game. We can see immediately that Doughty spent a lot of time playing against Toews and Keith. What’s interesting is that he spends significantly less time against Keith’s D-partner, Seabrook. We can take a look into this using the [Compare] -> [Shift] option
From this we can see that the reason why Doughty sees a lot of Keith and not a lot of Seabrook is because Keith and Seabrook play on different PP and PK units. In contrast, Keith and Doughty play on their teams respective first PP and PK units, and as such see a lot of each other in those situations.
Let’s say we want to delve more into how Doughty and Keith were used against each other. We can select both players and use [Compare]->[Total TOI] again:
Super different from the single player comparison huh? It’s not super clear to see (apologies for the limits of my screenshots) but at the very top is the overlapping TOI for the two players. From this we can see that Keith played a total of 25:38, and 11:37 of those minutes were shared Doughty. The second white bar you can just see the beginnings of is all the minutes Doughty played without Keith on the ice.
Now let’s check out what’s below that. First we see a bar chart showing the overlapping shift counts (in blue) and overlapping time on ice (in orange) for Keith and Doughty. Why the use of both shift counts and time on ice? We can see that Keith appears to have spent >80% of his shifts with Doughty on the ice, but actually only 45% of his ice time. (It’s worth noting here that ‘overlapping shifts’ count as any time two shifts overlap for >3 seconds).
Next to the two bar graphs is a breakdown of Keith’s Shifts (Top) and TOI (bottom) by period and by strength. For the strength pie chart, blue is Even Strength, Green is 5-on-4 (Power Play), Red is 4-on-5 (Short Handed), and Purple is Mixed (anything else e.g. 4-on-4, 5-on-3, etc).
As always, you can further refine the data for these charts through selections. Here, we can click on either the period segments or the strength segments to see their %Overlaps and period/strength breakdowns like so:
Here, I’ve selected to see shift count data from just the first period. I can see that 90% of Keith’s shifts in the first period overlapped with Doughty’s. As we might predict considering our earlier results that Doughty and Keith play against each other primarily on either PP or PK, the strength breakdowns for Keith’s ice time for the first period are roughly equal for all four possible situations.
Below that I’ve selected Even Strength TOI only. I can see that Keith spent only 34% of his EV TOI against Doughty, in line with everything we’ve seen up to this point. We also see that he spent the least amount of time at EV in the first period, which again makes sense considering what we see in the shift breakdown just above.
And that’s about it!






