Skip to content

Instantly share code, notes, and snippets.

Created Nov 15, 2018
What would you like to do?
const tooltip = d3
.attr('class', 'tooltip');
const color = d3
.domain([d3.min(vatValues), d3.mean(vatValues), d3.max(vatValues)])
.range(['green', 'yellow', 'red']);
const projection = d3
.rotate([-10, 0])
.center([0, 51])
.parallels([29.5, 45.5])
.translate([width / 2, height / 2]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment