Files

22 lines
318 B
Markdown
Raw Normal View History

2018-10-12 15:37:13 -04:00
---
title: Style D3 Labels
---
## Style D3 Labels
### Hint 1
2018-10-12 15:37:13 -04:00
Chain two ` style() ` method together.
2018-10-12 15:37:13 -04:00
### Hint 2
Use ` font-family ` in the first method and ` fill ` in the second method.
### Solution
Add these lines to the end of the chain:
```javascript
.style("font-size","25px")
.style("fill","red");
```