Graph a race from iRacing. It stays on your computer until you
publish it to the league.
Get it from iRacing
Find the subsession id of the race you want to analyze.
iRacing will ask you to sign in. Finish that, then come back to this tab — the lap chart will open again.
On the lap chart page, open DevTools. Right-click the page and choose Inspect, or press Option-Command-I on Mac or Ctrl-Shift-I on Windows.
Select the Network tab.
Select the Fetch/XHR filter. Then refresh the lap chart so the request is recorded. DevTools only lists requests that happen while it is open.
Click the row named GetLapChart. The response is a JSON object with startgrid and lapdata.
Right-click that row and choose Copy, then Copy response. You might have to Ctrl-C (Cmd+C on Mac) if the right click option is not available.
Paste it into the box below and press Enter.
Optional: caution laps
Open the same race results page in the new iRacing members UI.
Open DevTools → Network. Filter by Fetch/XHR or json. Click on Event Log in the Results page, and watch to see what pops up in the Network tab. Should be a hash like 19ec2e4eec...
Double click on that to download the response as a .json file.
Copy the contents of that file and paste it here. You still need a lap chart; this only marks yellow laps. Saving the graph later writes both blobs into one .txt file.
Time lost is against cars that stayed out. Under yellow that is seconds
slower than the pace car. Next stint is the change in median green-flag
pace after the stop. Swap counts the cars this driver would pass or
lose if that stop had ended earlier or later on the other tire call.
Gaps are taken at the exit, so a car that already took a lap does not
count. Hover a value for the breakdown. Select a driver to star them
on the chart.