Created
March 28, 2018 22:00
-
-
Save mpayetta/dc9a865f5ca15278800fde18186c2e00 to your computer and use it in GitHub Desktop.
d3-canvas-4
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 pointColor = '#3585ff' | |
const margin = {top: 20, right: 15, bottom: 60, left: 70}; | |
const outerWidth = 800; | |
const outerHeight = 600; | |
const width = outerWidth - margin.left - margin.right; | |
const height = outerHeight - margin.top - margin.bottom; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment