hive/html/d3js/sunburst_hierarchy.js
// Restore everything to full opacity when moving off the visualization.
Restore everything to full opacity when moving off the visualization.
Restore everything to full opacity when moving off the visualization .
function mouseleave(d) {
          d3.select("#trail")
                .style("visibility", "hidden");
          d3.selectAll("path").on("mouseover", null);
          d3.selectAll("path")
              .transition()
              .duration(1000)
              .style("opacity", 1)
              .each("end", function() {
                      d3.select(this).on("mouseover", mouseover);
                    });
          d3.select("#explanation")
          .style("visibility", "hidden");
        }
function mouseleave ( d ) { d3 . select ( "#trail" ) . style ( "visibility" , "hidden" ) ; d3 . selectAll ( "path" ) . on ( "mouseover" , null ) ; d3 . selectAll ( "path" ) . transition ( ) . duration ( 1000 ) . style ( "opacity" , 1 ) . each ( "end" , function ( ) { d3 . select ( this ) . on ( "mouseover" , mouseover ) ; } ) ; d3 . select ( "#explanation" ) . style ( "visibility" , "hidden" ) ; }
Restore everything to full opacity when moving off the visualization.
Restore everything to full opacity when moving off the visualization .
// Hide the breadcrumb trail // Deactivate all segments during transition. // Transition each segment to full opacity and then reactivate it.