D3 | Scatterplot graph

D3 | Scatterplot graph
0

#1

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

give me any feedback or advice


#2

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.


#3

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


#4


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


#5

Thank you soooo much