0

I'm trying to retrieve CSV data from a URL using D3js, However I get the following error:

GET http://abc/test.csv 406 (Not Acceptable)

my code looks like:

  var chartData = d3.csv("http://abc/test.csv", function(d) {
  return {
    Date : d.Date,
    Department : d.Department,
    ProductGroup : d.ProductGroup,
    Description : d.Description,
    ShippingValue : +d.ShippingValue
  };
Ahm Sf
  • 33
  • 9
  • Does this answer your question? [What is "406-Not Acceptable Response" in HTTP?](https://stackoverflow.com/questions/14251851/what-is-406-not-acceptable-response-in-http) – Robin Mackenzie Sep 14 '22 at 10:32

0 Answers0