@@ -3176,7 +3176,7 @@ <h3>The Fifa Ranking</h3>
3176
3176
"gridline": "#888"};
3177
3177
var lineColor = "#59DDAF";
3178
3178
3179
- var graphTitle = "Proportion of Wins x Ts Distance in Fifa Ranking",
3179
+ var graphTitle = "Proportion of Wins x Teams Distance in Fifa Ranking",
3180
3180
xAxisTitle = "Distance to opponent position in Fifa Ranking",
3181
3181
yAxisTitle1 = "Share of goals scored per match",
3182
3182
yAxisTitle2 = "Share of matches won per rank distance";
@@ -3435,7 +3435,7 @@ <h3>The Fifa Ranking</h3>
3435
3435
3436
3436
.transition()
3437
3437
.delay(function(d, i) { return ((d.rankDiff-minRankDiff)*10);})
3438
- .duration(1000 )
3438
+ .duration(500 )
3439
3439
.attr("cx", function(d) { return xScale(d.rankDiff); })
3440
3440
.attr("cy", function(d) { return yScale(d.avrg); });
3441
3441
@@ -3503,8 +3503,8 @@ <h3>The Fifa Ranking</h3>
3503
3503
currentView = "aggregated";
3504
3504
svg.selectAll("circle")
3505
3505
.transition()
3506
- .delay(function(d, i) { return ((d.rankDiff-minRankDiff)*20 );})
3507
- .duration(1000 )
3506
+ .delay(function(d, i) { return ((d.rankDiff-minRankDiff)*10 );})
3507
+ .duration(500 )
3508
3508
.attr("cy", function(d) { return yScale(d.avrg); })
3509
3509
.style("stroke", color.circleNeutral)
3510
3510
.style("fill", color.circleNeutral)
@@ -3523,8 +3523,8 @@ <h3>The Fifa Ranking</h3>
3523
3523
currentView = "perLocation";
3524
3524
svg.selectAll("circle")
3525
3525
.transition()
3526
- .delay(function(d, i) { return ((d.rankDiff-minRankDiff)*20 );})
3527
- .duration(1000 )
3526
+ .delay(function(d, i) { return ((d.rankDiff-minRankDiff)*10 );})
3527
+ .duration(500 )
3528
3528
.attr("cy", function(d) { return yScale(d.classAvrg); })
3529
3529
.style("stroke", function(d, i) {return d.color})
3530
3530
.style("fill", function(d, i) {return d.color});
@@ -3544,8 +3544,8 @@ <h3>The Fifa Ranking</h3>
3544
3544
svg.selectAll("circle")
3545
3545
// .data(dataset)
3546
3546
.transition()
3547
- .delay(function(d, i) { return ((d.rankDiff-minRankDiff)*20 );})
3548
- .duration(1000 )
3547
+ .delay(function(d, i) { return ((d.rankDiff-minRankDiff)*10 );})
3548
+ .duration(500 )
3549
3549
.attr("cy", function(d) { return yScale(d.goalsAvrg); })
3550
3550
.style("stroke", function(d, i) {return d.color})
3551
3551
.style("fill", function(d, i) {return d.color});
0 commit comments