console.table will print in tablular form on the console of the browser developer tools, for that press
F12 in the page and then refresh the page, you and from the dev tool bar navigate to console, you will see the data logged in tabular form then.
you will need to add some html first and then using javascript add the rows with data like:
<table id="animalstable">
<thead>
<tr><td>Animal</td>
<td>Name</td>
<td>Age</td>
</tr></thead>
</table>
and then in js file add code like:
document.addEventListener('DOMContentLoaded', function() {
var animals = [{
animal: 'Horse',
name: 'Henry',
age: 43
}, {
animal: 'Dog',
name: 'Fred',
age: 13
}, {
animal: 'Cat',
name: 'Frodo',
age: 18
}];
console.log(animals);
var table = document.getElementById("animalstable");
for (var index in animals) {
console.log(index);
table.innerHTML += "" + animals[index].animal + "" + animals[index].name + "" + animals[index].age + "";
}
}, false);
See the updated
Plunker demo here