r display = x + currentRotate < 90 && x + currentRotate > -90 
                  || (x + currentRotate < -270 && x + currentRotate > -450) 
                  || (x + currentRotate > 270 && x + currentRotate < 450) 
                  ? "block" : "none";
                d3.select(this)
                    .attr("cx", projectedPoint[0])
                    .attr("cy", projectedPoint[1])
                    .style("display", display);
              })
        }

      }
    </script>
  </body>
</html>
