Items 1-12 out of 19652 displayed
You use ==
or ===
:
var thesame = obj1===obj2;
You can use d3.event.pageX and d3.event.pageY. An example where I use this: Problem was here as OP has already deduced. This was causing a state-mutation which goes against Redux...
Some notes on that code. Don't take these the wrong way, you're new to JavaScript! Everyone was once, having people point things out is one way we learn. There's almost never...
You can use .on(mouseover, function(d){
hover.transition().duration(200).style(opacity, .9);...
const evaluationResults = state.evaluationResults;
array#reduce
to sum up all values and then calculate percentages inside array#map