block by danharr 10989553

Most remote football stadiums

Full Screen

A Voronoi diagram to show which football stadiums in the UK are in the most remote locations. The projection variable is used to translate longitude and latitude in the data to x,y co-ordinates on the page. For more info read this tutorial

Stadium names have been added as s so users can hover over the circles. Another version with labels is shown here: <a href="http://bl.ocks.org/danharr/10990305">http://bl.ocks.org/danharr/10990305</a></p> <p>Data for stadiums courtesy of <a href="http://www.doogal.co.uk/FootballStadiums.php">http://www.doogal.co.uk/FootballStadiums.php</a></p> </div> <div id='files'><div> <h3>index.html</h3> <pre><code class='lang-HTML'></code></pre> </div></div> <script> var rootURL = '/danharr/raw/10989553/' ;[...document.querySelectorAll('#files > div')].forEach(async d => { var file = d.querySelectorAll('h3')[0].textContent var text = await (await fetch(rootURL + file)).text() var codeEl = d.querySelectorAll('code')[0] codeEl.textContent = text hljs.highlightBlock(codeEl) }) </script>