Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
desafinadude committed Dec 3, 2024
1 parent 88437bc commit 80240d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions d3_script.js
Original file line number Diff line number Diff line change
Expand Up @@ -615,8 +615,8 @@ window.addEventListener('load', function () {

const container = d3.select(`#${id}`);
const rect = container.node().getBoundingClientRect();
const width = rect.width;
const height = rect.height;
const width = 200;
const height = 200;
const margin = { top: 0, right: 0, bottom: 0, left: 0 };
const radius = Math.min(width, height) / 2 - Math.max(margin.top, margin.right);

Expand Down

0 comments on commit 80240d0

Please sign in to comment.