Skip to content

Instantly share code, notes, and snippets.

Avatar

Bruno Siqueira brunosiqueira

  • Atlassian
  • Sydney
View GitHub Profile
View sankey
d3.select('svg').selectAll('*').remove();
let svg = d3.select('svg#sankey');
let width = +window.innerWidth * 0.95;
svg.attr('width', window.innerWidth);
let height = +svg.attr('height');
let formatNumber = d3.format(',.0f'),
format = function (d: any) {
return formatNumber(d) + ' TWh';
},
color = d3.scaleOrdinal(['#8c221b', '#393939', '#d69190']);
View keybase.md

Keybase proof

I hereby claim:

  • I am brunosiqueira on github.
  • I am bsiqueira (https://keybase.io/bsiqueira) on keybase.
  • I have a public key ASCYaPjR6oAzEstw0Z4jG3-JhrBJUY3z4r788QShIXieLwo

To claim this, I am signing this object: