Files

31 lines
409 B
Markdown
Raw Normal View History

2018-10-12 15:37:13 -04:00
---
title: Style D3 Labels
---
# Style D3 Labels
---
## Hints
2018-10-12 15:37:13 -04:00
### 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.
---
## Solutions
<details><summary>Solution 1 (Click to Show/Hide)</summary>
Add these lines to the end of the chain:
```javascript
.style("font-size","25px")
.style("fill","red");
```
</details>