diff --git a/monkey/monkey_island/cc/ui/src/components/report-components/zerotrust/venn-components/ResponsiveVennDiagram.js b/monkey/monkey_island/cc/ui/src/components/report-components/zerotrust/venn-components/ResponsiveVennDiagram.js
index 8cf096d69..4b2069f06 100644
--- a/monkey/monkey_island/cc/ui/src/components/report-components/zerotrust/venn-components/ResponsiveVennDiagram.js
+++ b/monkey/monkey_island/cc/ui/src/components/report-components/zerotrust/venn-components/ResponsiveVennDiagram.js
@@ -12,13 +12,6 @@ class ResponsiveVennDiagram extends React.Component {
render() {
const {pillarsGrades} = this.props;
- let childrenWidth = this.props.containerWidth, childrenHeight = this.props.containerHeight;
-
- if (childrenHeight === 0 || isNaN(childrenHeight)) {
- childrenHeight = childrenWidth;
- } else {
- childrenWidth = Math.min(childrenWidth, childrenHeight)
- }
return (
diff --git a/monkey/monkey_island/cc/ui/src/components/report-components/zerotrust/venn-components/VennDiagram.js b/monkey/monkey_island/cc/ui/src/components/report-components/zerotrust/venn-components/VennDiagram.js
index 2b36266c0..25e57c2dd 100644
--- a/monkey/monkey_island/cc/ui/src/components/report-components/zerotrust/venn-components/VennDiagram.js
+++ b/monkey/monkey_island/cc/ui/src/components/report-components/zerotrust/venn-components/VennDiagram.js
@@ -13,7 +13,6 @@ class VennDiagram extends React.Component {
this.state = {tooltip: {top: 0, left: 0, display: 'none', html: ''}};
this.width = this.height = 512;
- this.zOrder = [];
this.colors = ['#777777', '#D9534F', '#F0AD4E', '#5CB85C'];
this.prefix = 'vennDiagram';
@@ -208,7 +207,6 @@ class VennDiagram extends React.Component {
} else {
// equivalent to center translate (width/2, height/2)
let viewPortParameters = (-this.width / 2) + ' ' + (-this.height / 2) + ' ' + this.width + ' ' + this.height;
- let translate = 'translate(' + this.width / 2 + ',' + this.height / 2 + ')';
let nodes = Object.values(this.layout).map((d_, i_) => {
if (d_.hasOwnProperty('cx')) {