A couple different things you can do here…

One put the data in a table…
or
Two…
You could just either use CSS to do this OR create your element like this:

var foo= document.createElement("p"); foo.classList.add("whatever "); CSS OR foo.setAttribute('style', 'line-height: 20%;'); No CSS```