# HG changeset patch # User IBBoard # Date 1496064510 -3600 # Node ID b83d9186c2af2c3ea9dcccbe65fe6d233d8c3849 # Parent a11817a35877c5b2098c8b5071aba7873f56b15c Make sure that we're following the new update pattern diff -r a11817a35877 -r b83d9186c2af exif-graphr.js --- a/exif-graphr.js Mon May 29 14:06:47 2017 +0100 +++ b/exif-graphr.js Mon May 29 14:28:30 2017 +0100 @@ -274,7 +274,7 @@ var circles = circlesG.selectAll("circle") .data(filteredPhotos, byID); circles.exit().remove(); - circles.enter() + var circleEnter = circles.enter() .append("circle") .on('mouseover', tip.show) .on('mouseout', tip.hide) @@ -282,6 +282,7 @@ // .duration(750); circles/*.transition().duration(250)*/ + .merge(circleEnter) .attr("cx", function (d) { return expAxisScale(d.exposure); }) .attr("cy", function (d) { return flAxisScale(d.focal_length); }) .attr("r", function (d) { return 50 / d.f_number; })