Excel to HTML Table

I am trying to create an HTML table that reads in Excel file. At the rightmost column, is a checkbox column where we can select the rows we want. The user opens the file, and then reads it to a table.

 <body>         <h2>Data in excel file</h2>         <input type="file" id="input">         <table id="tdata">             <thead>                 <tr>                     <th>Name</th>                     <th>User ID</th>                     <th>Staff Type</th>...
Code (JavaScript):

Excel to HTML Table