I’m doing the 2nd of the final projects in the Data Visualization course, where we have to make a scatterplot of dates on the X axis, and times (in mins:secs) on the Y axis.
The times in mins:secs are currently strings, and I’ve been trying to find a way to easily convert them to numbers that can actually be plotted, but I’m coming up short. Is there some sort of D3 function or something that I’m missing?
Link to the pen, with the array of times logging to the console: