Yesterday, I was asked to add a highlight click event to a point on a screen. For a quick demo of this effect, click the point below.

Fortunately, D3 makes this really easy with transitions.".circle").on("click", onCircleClick);

function onCircleClick() {
        .attr("r", maxRadius)
        .attr("r", radius);

The code for this blog post is available in Github.