Calculating the normal between two points
xxxxxxxxxx
<meta charset='utf-8'>
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" type="text/css" href="style.css">
<body></body>
<script src='d3v4.js'></script>
<script src='script.js'></script>