JSFiddle - React, Tailwind, and code Playground
HTML
<section></section>
JavaScript
//var section =
d3.selectAll("section")
.data([3, 7, 21, 31, 35, 42])
.enter().append("p")
.text(function(d){return d;})
.exit().remove();
//Use chaining to create the same two divs and look in your console to see the difference.