Set up the svg

master
Matt Huntington 8 years ago
parent 4a7ca18c71
commit 228d806ccc

@ -81,3 +81,13 @@ colorScale.domain(dataset.map(function(element){
return element.label; return element.label;
})); }));
``` ```
## Set up the svg
Standard:
```javascript
d3.select('svg')
.attr('width', WIDTH)
.attr('height', HEIGHT);
```

Loading…
Cancel
Save