Live demo - CSV data
The table above shows how the CSV data (see below) is rendered as Confluence table with all the features (incl. footer row) that comes with Data Tables for Confluence.
CSV data used as data source for the table shown above:
The code above is rendered by "Prism Syntax Highlighter for Confluence" which supports highlighting CSV syntax.