Hover on object to bring it to the front, click to take object to the background.
Started with this example
Started with examples from blocks like: cluster force, Collision Detection
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<html> | |
<body> | |
<svg width="700" height="400"> | |
</svg> | |
<script src="https://d3js.org/d3.v4.min.js"></script> | |
<script> | |
var svg = d3.select("svg"), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<style> | |
.active { | |
stroke: #000; | |
stroke-width: 2px; | |
} | |
</style> | |
<body> | |
<script src="//d3js.org/d3.v4.min.js"></script> |
Network graph with node labels
started with this example
Compering 2 normal distributions.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<style> | |
h3 { | |
margin-left: 40px; | |
margin-bottom: 2px; | |
font-family: 'Maven Pro', sans-serif; | |
font-size: 18px; | |
font-weight: bold; | |
} |
Change opacity with range slider
Scatter plot zoom of the brushed region. Double-click to zoom out.