d3.js filter() not displaying expected results
问题 The filter command is not working as I expected. How would I refactor the code to get the requested output? In the .filter((d,i) => condition) syntax, d is an object with the x (date/time string) and y (num cars produced that shift) axis values for that datapoint and i is the index of that datapoint on the linechart. Why does d.x != testdate# ? Note: testdate1 and testdate2 are datetime strings that precisely match two of the date/time strings in the datapoints While troubleshooting this, I