I'm reading 'Interactive Data Visualization for the Web' and in chapter 16 I'm having an issue with the code below.
As far as I know, d3.request
has been deprecated, so I'm wondering how I can write the equivalent of this function. Is it with fetch?
d3.request("vehicle_sales_data.csv")
.mimeType("text/csv")
.get(function(response) {
var rows = d3.csvParseRows(response.responseText); ...}
Thanks.