Created
June 24, 2017 20:34
-
-
Save yani-/77db4bbf7a5d55f9e70e7c4cca071a5d 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 width = $('svg').parent().width(); | |
const height = width / 2.4; | |
const svg = d3.select('svg'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment