Created
November 15, 2018 13:32
-
-
Save jsrath/7781a2b4f3e96711d63825f6d64b7fbd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const tooltip = d3 | |
.select('body') | |
.append('div') | |
.attr('class', 'tooltip'); | |
const color = d3 | |
.scaleLinear() | |
.domain([d3.min(vatValues), d3.mean(vatValues), d3.max(vatValues)]) | |
.range(['green', 'yellow', 'red']); | |
const projection = d3 | |
.geoConicConformal() | |
.rotate([-10, 0]) | |
.center([0, 51]) | |
.parallels([29.5, 45.5]) | |
.scale(1255) | |
.translate([width / 2, height / 2]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment