src/components/ChordDiagram/d3ChordDiagram.js
Function d3ChordDiagram
has 101 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export default curry(function d3ChordDiagram(speakers, interactions, node) {
//FIXME should be the innerwidth of the tab container, not the entire window
var width = window.innerWidth / 2;
var height = width;
var innerRadius = Math.min(width, height) * 0.4;