D3 | Scatterplot graph

hi guys, i just completed my d3 project no 2 scatterplot graph
here is the link

give me any feedback or advice

background-repeat: no-repeat
and instead of const getDateY = d => new Date(d[“Year”], 0, 0, 0, 0, 0, 0);
const getDateMS = d => {
let [mm, ss] = d[“Time”].split(":").map(x => Number(x));
let date = new Date();
date.setMinutes(mm);
date.setSeconds(ss);
return date;
}
use d3 format. it will helpful in next projects.

thanks for feedback and advice
but i don’t know how to do this in D3 format?


var parseDate = d3.timeParse("%Y");
var formatDate = d3.timeFormat("%Y");
var parseTime = d3.timeParse("%M:%S");
var formatTime = d3.timeFormat("%M:%S");

1 Like

Thank you soooo much