Created
June 25, 2017 09:23
-
-
Save yani-/e2730047f92fcf2bb1c2cbf7e0d6ceaf 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
x.domain(d3.extent(data, d => d.date)); | |
y.domain([ | |
d3.min(metrics, c => d3.min(c.values, v => v.count)), | |
d3.max(metrics, c => d3.max(c.values, v => v.count)) | |
]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment