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: