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 9c18110 commit 711aeb6Copy full SHA for 711aeb6
README.md
@@ -2618,6 +2618,10 @@ Other Style Guides
2618
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);
2623
+ const g = svg.append('svg:g');
2624
+ g.attr('transform', `translate(${radius + margin},${radius + margin})`).call(tron.led);
2625
```
2626
2627
<a name="whitespace--after-blocks"></a><a name="18.7"></a>
0 commit comments