JSFiddle - React, Tailwind, and code Playground

by Scotty Bollinger

JavaScript

// Code goes here

var width = 400,
		height = 400;

var svg = d3.select('body')
		.append('svg')
			.attr('width', width)
			.attr('height', height)
		.append('g')
			.attr('transform', 'translate('+height/2+','+width/2+')');

svg.append('rect')
	.attr('width', '185')
	.attr('height', '45')
	.attr('x', -height/2+185/2)
	.attr('y', -width/2+10)
	.attr('fill', 'rgba(0,0,0,0)')
	.attr('stroke', '#2378ae')
	.attr('stroke-dasharray', '10,5')
	.attr('stroke-linecap', 'butt')
	.attr('stroke-width', '3');