clustergrammer
Version:
This is a clustergram implemented in D3.js. I started from the example http://bost.ocks.org/mike/miserables/ and added the following features
14 lines (10 loc) • 388 B
JavaScript
module.exports = function check_zoom_stop_status(params){
var inst_zoom = Number(d3.select(params.root+' .viz_svg').attr('is_zoom'));
var check_stop = Number(d3.select(params.root+' .viz_svg')
.attr('stopped_zoom'));
var stop_attributes = false;
if (inst_zoom === 0 && check_stop != 0){
stop_attributes = true;
}
return stop_attributes;
};