Использование более краткого синтаксиса:
// response from $.getJson()
const data = [{
"id": "67341472528",
"name": "Dana Fin"
}, {
"id": "87543263550",
"name": "Jon Doe"
}];
const header = `
<tr>
<th>ID</th>
<th>NAME</th>
</tr>
`
document.querySelector("#data").innerHTML = data.reduce(( innerHTML, { id, name }) => (
`
${ innerHTML }
<tr>
<td>${ id }</td>
<td>${ name }</td>
</tr>
`
), header );
table, tr, td {
border-collapse: collapse;
border: 1px solid;
padding: 5px;
}
<table id="data"></table>