(Created page with "<html lang="en"> <meta charset="utf-8"> <style> /*! * Bootstrap v4.1.0 (https://getbootstrap.com/) * Copyright 2011-2018 The Bootstrap Authors * Copyright 2011-2018 Twitter...") |
|||
| Line 14: | Line 14: | ||
<script src="https://d3js.org/queue.v1.min.js"></script> | <script src="https://d3js.org/queue.v1.min.js"></script> | ||
<script src="https://d3js.org/topojson.v1.min.js"></script> | <script src="https://d3js.org/topojson.v1.min.js"></script> | ||
| − | <script src="https://cdnjs.cloudflare.com/ajax/libs/d3-tip/0. | + | <script src="https://cdnjs.cloudflare.com/ajax/libs/d3-tip/0.8.0-alpha.1/d3-tip.js"></script> |
</head> | </head> | ||
<style> | <style> | ||
| Line 876: | Line 876: | ||
}*/ | }*/ | ||
| − | . | + | .dreggsagg{ |
color:white; | color:white; | ||
} | } | ||
| Line 1,019: | Line 1,019: | ||
.offset([-10, 0]) | .offset([-10, 0]) | ||
.html(function(d) { | .html(function(d) { | ||
| − | return "<strong>Country: </strong><span class=' | + | return "<strong>Country: </strong><span class='dreggsagg'>" + d.properties.name + "<br></span>" + "<strong>Population: </strong><span class='dreggsagg'>" + format(d.population) +"</span>"; |
}) | }) | ||
Latest revision as of 18:57, 7 October 2019


























