forked from zrlram's block: d3 force layout with brushing and selecting of nodes
xxxxxxxxxx
<html>
<head>
<title>Force Brush</title>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/d3@2.10.3/d3.v2.js"></script>
<style type="text/css">
circle.node {
stroke: #fff;
stroke-width: 1.5px;
}
rect.extent {
fill: #bbbbbb;
}
line.link {
stroke: #999;
stroke-opacity: .6;
}
</style>
</head>
<body>
<div id="chart"></div>
<script type="text/javascript" src="force_brush.js"></script>
</body>
</html>
Modified http://mbostock.github.com/d3/d3.v2.js to a secure url
https://mbostock.github.com/d3/d3.v2.js