I am trying to adapt a simple scatterplot program in D3 to accept a CSV file. When I use the data in the file it works just fine, but when I try to load the CSV file it simp
Using d3.csvParseRows (assuming D3 v5)
d3.text('/data/output.csv') .then( text => d3.csvParseRows(text) ) .then( d => console.log(d) );