d3.csv("items1(3).csv",function(data) { data.forEach(function(d) { if(typeof d.Sales === "string") { d.Sales = +d.Sales || 0} }); console.log(data); });
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)