Skip to content

Instantly share code, notes, and snippets.

@mvuksano
Last active May 31, 2016 06:14
Show Gist options
  • Save mvuksano/ce38a1d5da70ad2f60c4c57041cefb33 to your computer and use it in GitHub Desktop.
Save mvuksano/ce38a1d5da70ad2f60c4c57041cefb33 to your computer and use it in GitHub Desktop.
function updateData() {
svg.selectAll('rect')
.data(d3.entries(population_update))
.attr('width', function(d, i) {
return d.value;
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment