title: How to load data from a CSV-file to a Highcharts sankey diagram
body: <p>I want to load data from an external CSV-file to a Highcharts sankey diagram. After trying several options, I am not sure if this is even possible, as the result is always an empty chart? The CSV-file will be on the same server in the final version.</p>
  <p>As a simple case, see the fiddle <a href="https://jsfiddle.net/oy095kzb/" rel="nofollow noreferrer">https://jsfiddle.net/oy095kzb/</a>
  which is merely copy/paste from the <a href="https://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/demo/sankey-diagram" rel="nofollow noreferrer">official Highcharts sankey example</a> (where data is included in the code), except that data-module is loaded and csvURL is used instead:</p>
  <pre><code>series: [{
      keys: ['from', 'to', 'weight'],
      data: {
              csvURL:'https://www.test.basleratlas.ch/sankey_test.csv'
          },
      type: 'sankey',
      name: 'Sankey demo series'
  }]
  </code></pre>
  <p>CSV-file-structure:</p>
  <pre><code>'from', 'to', 'weight'
  'Brazil', 'Portugal', 5
  'Brazil', 'France', 1
  'Brazil', 'Spain', 1
  'Brazil', 'England', 1
  'Canada', 'Portugal', 1
  ...
  </code></pre>