public/javascripts/visualisation.js
// Returns an event handler for fading a given chord group.
Returns an event handler for fading a given chord group.
Returns an event handler for fading a given chord group .
function fade(opacity) {
        return function (g, i) {
            svg.selectAll(".chord path")
                .filter(function (d) {
                    return d.source.index !== i && d.target.index !== i;
                })
                .transition()
                .style("opacity", opacity);
        };
    }
function fade ( opacity ) { return function ( g , i ) { svg . selectAll ( ".chord path" ) . filter ( function ( d ) { return d . source . index !== i && d . target . index !== i ; } ) . transition ( ) . style ( "opacity" , opacity ) ; } ; }
Returns an event handler for fading a given chord group.
Returns an event handler for fading a given chord group .