Created
June 23, 2014 19:44
-
-
Save ahmetkizilay/388b9ceeb61130c46c61 to your computer and use it in GitHub Desktop.
empty template for d3.js
This file contains hidden or 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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <style> | |
| body { | |
| background-color: #ededed; | |
| } | |
| svg { | |
| border: 1px solid black; | |
| background-color: white; | |
| } | |
| </style> | |
| <script src="http://d3js.org/d3.v3.min.js"></script> | |
| </head> | |
| <body> | |
| <script> | |
| var width = 400, | |
| height = 400; | |
| var svg = d3.select('body') | |
| .append('svg') | |
| .attr('width', width) | |
| .attr('height', height); | |
| </script> | |
| </body> | |
| </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment