JSFiddle - React, Tailwind, and code Playground

by miska knapek

JavaScript

var svgArea = d3.select("body")
                .append("svg")
                .attr("width", 500)
                .attr("height", 500 );

var circle = svgArea.append("circle")
                .attr("cx", 100 )
                .attr("cy", 100 )
                .attr("r", 50 )
                .style("fill", "orange")
                .style("stroke", "red" );