tplan is a Google Apps Script application that provides an interactive training plan for a century cycle ride.
You will need to authorize the app so that it can read spreadsheets in your Google Drive containing your ride data.
View the application source code in the Google Apps Script Developer Environment.