-
-
Save gabrielflorit/3171077 to your computer and use it in GitHub Desktop.
created by livecoding - http://livecoding.gabrielflor.it/3171077
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
var width = $('svg').width(); | |
var height = $('svg').height(); | |
var svg = d3.select('svg'); | |
svg | |
.attr('width', width) | |
.attr('height', height); | |
svg.selectAll('circle') | |
.data([18, 57, 112, 323]) | |
.enter().append('circle') | |
.attr('cy', 236) | |
.attr('cx', String) | |
.attr('r', Math.sqrt); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment