But first, the race overall... How were the cars placed on track at the end of each lap? (Numbers in circles are number of laps behind for a lapped car). The + denotes the track position of BOT.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5Ev4oNNDN2-UK3N6Z9Snj7Dz-tRiW22_N0MPvy7WDNCZpCerC_Dr-97QVI_D9uOokPWyozp_cho140GkN1JZfEgdy4OBUZwIWfb9QF7xMAxQ0FFzDX68JKPtIAnq1PfXU7ZexAePb94Uv/s640/f1_2017_chn-track_position_chart-1.png)
The race from Hamilton's perspective:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjA5VeVBUJy2I__BfSjezuMx7V3fKEpWnrroe3MUZb9UNg5z4UOqT6e7ZBg8cwMWZN6E9H-sftNRJJo9Y_0tXNVBq8BOtop3_jvIrhineO8_F0G9Enh9U7q_sBkSRP4Jz4rTsnmw8ucFQQ/s640/f1_2017_chn-battlemap_2017_CHN_HAM-1.png)
Here's how Vettel saw it:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVqCOzfUKFJ1MLXBqKn5WJ9XL8WwGDyb7pqlTRqd_zkf8gfnuvqMugWhf4JDLDsE_uAz2UoQnOKFd3LDwPi0PCTTiP6UszMqEKxXn9tvboN2CJTPwK05zZaxLXSGNMRMkxI3iQOgm2E01E/s640/f1_2017_chn-battlemap_2017_CHN_VET-1.png)
Verstappen's race:
And Ricciardo:
How did Raikkonen fare?
And what about Bottas?
These battlemaps are the best way to visualize someone's race I've seen yet. I especially like that lapped traffic is included. Perhaps you could add ticks for every 5 laps on the x-axis instead of 20, making it easier to look up the driver's pace in the interesting looking laps.
ReplyDeleteSpeaking of which, I would find comparison graphs with raw laptimes colored/shaded by availability of free air ahead interesting. Someone 1 sec ahead and it's almost transparent, 2s and it's 50% opaque, 4s and up completely solid. It would say a lot about a drivers' race pace.
Thanks for the comment - noted re the ticks (I was trying to minimise clutter on the chart.
ReplyDeleteThe laptime coloured by free air ahead is a nice idea - a heatmap would be one way of doing this I think?
I also need to address pitstops - maybe a dashed line showing pit lap on the battlemap for when that driver pits. Also, I was thinking of a "pit window" map that shows the cars 15-25 seconds behind
I haven't considered a heatmap but now that you mention it's a brilliant idea. Color coding could be something like hue = laptime, saturation = free air ahead. The range of laptimes might be too big to be fitted into the range of hues in a way that you can still pick up differences of a few tenths, but if we transform laptimes a bit it could be possible.
ReplyDeleteI can't resist getting my hands on a dataset to try this out!
Old example of heatmap here: http://www.f1datajunkie.com/2011/09/f1-2011-belgium-lap-time-heat-map.html
ReplyDeleteYou can get data from ergast API, or via data download from eragst - eg http://www.f1datajunkie.com/2017/04/a-homebrew-ergast-f1-data-science.html