I'm currently following the tutorial in Scott Murray's D3 book. His code for my specific problem is here: https://github.com/scotthmurray/d3-book/blob/master/chapter_07/09_time_scale.html
I copied his code into my index.html directly (for trouble shooting purposes) but it doesn't appear to be loading in my csv data correctly when I open my local host browser.
I'm trying to read in my "time_scale_data.csv" file which looks like below:
Below is I believe the relevant part of my D3 code but please see my link above for full code:
When I check my browser / console ... it looks like only the last row of data in my CSV file was loaded in instead of the whole dataset
According to the book, this is what the data should look like after I add dataset to the console: