D3 remove comma delimiters for thousands
问题 I have a .json with 3 columns where one of them is 'Year'. The column contains only years. No dates!. When I am graphing it on the 'x' axis the years come out with a comma delimiter for thousands. So in the .json the date is this format :"Year":1990 and on the 'x' axis it comes out like that 1,990 I have been trying to figure out how to parse the year but I have no luck so far. I have tried the following: var parseDate = d3.time.format("%y").parse var x = d3.time.scale() .range([0, width]); /