From 7ed97a111524f79d35a7d60718fd152f27d6341a Mon Sep 17 00:00:00 2001 From: Matt Huntington Date: Mon, 18 Jun 2018 15:45:02 -0400 Subject: [PATCH] Update BUILD.md --- BUILD.md | 5 ----- 1 file changed, 5 deletions(-) diff --git a/BUILD.md b/BUILD.md index 3c7675d..dd8f69f 100644 --- a/BUILD.md +++ b/BUILD.md @@ -380,11 +380,6 @@ xScale.domain([new Date('2017-10-1'), new Date('2017-10-31')]); var parseTime = d3.timeParse("%B%e, %Y at %-I:%M%p"); //this format matches our data in the runs array var formatTime = d3.timeFormat("%B%e, %Y at %-I:%M%p"); //this format matches our data in the runs array - -d3.selectAll('circle') - .attr('cx', function(datum, index){ - return xScale(parseTime(datum.date)); //use parseTime to convert the date string property on the datum object to a Date object, which xScale then converts to a visual value - }); ``` and change it to: