function parseURL2ChartData(url, callback) {
  const success = code => {
    const chartData = parseDSV2ChartData(code);

    callback(chartData);
  };
  const fail = () => callback(null);

  $.get(url).done(success).fail(fail);
}
function parseURL2ChartData(url, callback) {
  const success = code => {
    const chartData = parseDSV2ChartData(code);

    callback(chartData);
  };
  const fail = () => callback(null);

  $.get(url).done(success).fail(fail);
}
function parseURL2ChartData ( url , callback ) { const success = code => { const chartData = parseDSV2ChartData ( code ) ; callback ( chartData ) ; } ; const fail = ( ) => callback ( null ) ; $ . get ( url ) . done ( success ) . fail ( fail ) ; }
parse code from url
@param {string} url - remote csv/tsv file url
@param {Function} callback - callback function
@ignore
parse code from url
Parse a chart from a url