We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 730b749 commit 0cf78acCopy full SHA for 0cf78ac
README.md
@@ -2619,7 +2619,7 @@ Other Style Guides
2619
// good
2620
const leds = stage.selectAll('.led').data(data);
2621
const svg = leds.enter().append('svg:svg');
2622
- svg.classed('led', true).attr(width', (radius + margin) * 2);
+ svg.classed('led', true).attr('width', (radius + margin) * 2);
2623
const g = svg.append('svg:g');
2624
g.attr('transform', `translate(${radius + margin},${radius + margin})`).call(tron.led);
2625
```
0 commit comments