Replace YOUR_SHEET_ID_HERE in the script with your Google Sheet ID, then publish the sheet (File → Share → Publish to web).
YOUR_SHEET_ID_HERE