JSFiddle - React, Tailwind, and code Playground

by Shang-De You

HTML

<p>
</p>

JavaScript

var svg = d3.select("body")
    .append("svg")
    .attr("width", 400)
    .attr("height", 400);
    
    svg.append("circle")
    .attr("cx","50px")
    .attr("cy","50px")
    .attr("r","50px")
    .attr("fill","red");