If you have any better idea let me know.If you want scripts to handle the table, having tab-separated values (you may want to use commas in the cells) looks like a good idea. What scripts are you considering? I can potentially help with Shell or AWK scripts.
For visualization, a script can convert the table into a HTML table.