CSV to html – delimiter

Delimiter

Standard delimiter for csv-file is comma (,) but sometimes semicolon (;) or maybe tab is used for csv-files (\t). You have to tell the plugin which delimiter to use if it is not using comma. You do that by using csv_delimiter. The result is not as expected down below because setting tells the plugin to use semilcolon as delimiter while the actual files is using comma.

Shortcode
[csvtohtml_create source_type="visualizer_plugin" path="csvfiles" source_files="https://wibergsweb.se/wp-content/uploads/csvfiles/sweden.csv;norway;finland;iceland;denmark" csv_delimiter=";"]
,Sweden2011,"1.6%"2012,"2.2%"2013,"3.2%"2014,"4.5%"2015,"6.9%"

The example below shows the data when csv_delimiter is changed to comma.

Shortcode
[csvtohtml_create source_type="visualizer_plugin" path="csvfiles" source_files="https://wibergsweb.se/wp-content/uploads/csvfiles/sweden.csv;norway;finland;iceland;denmark" csv_delimiter=","]
20112012201320142015
Sweden1.6%2.2%3.2%4.5%6.9%
Norway-6.6%1.2%1.4%1.9%2.0%
Finland-16.6%-14.2%10.2%11.0%13.2%
Iceland6.6%6.2%7.2%11.0%16.2%
Denmark-2.6%0%2.6%2.9%2.11%