import { select } from 'd3';
const svg = select('svg');
const circle = +svg.append('circle');
const width = +svg.attr('width');
const height = +svg.attr('height');
console.log(width);
circle.attr('r', height / 2);
circle.attr('cx', width / 2);
circle.attr('cy', height / 2);