Dartboard
A library to add a dartboard to a web app. The board is built with D3 and fires events when a bed is clicked.
Usage
<script src="https://unpkg.com/dartboard/dist/dartboard.js"></script>
var dartboard = new Dartboard('#dartboard');
dartboard.render();
document.querySelector('#dartboard').addEventListener('throw', function(d) {
console.log(d.detail);
});