JSFiddle - React, Tailwind, and code Playground

by hammerbrostime

JavaScript

var svgViewport = d3.select("body").append("svg").attr("width", "200").attr("height", "200"); 
var circleSelection = svgViewport.selectAll("circle").data(myData); 
var circleElements = circleSelection.enter().append("circle");
circleElements.attr("cx","25").attr("cy","25").attr("r","25");