From 7710d6949f96132198c0325dd55eb4266c74e052 Mon Sep 17 00:00:00 2001 From: Saarthak Date: Mon, 22 May 2023 18:00:52 +0530 Subject: [PATCH] Fix Typo --- src/circularDendrogram/render.js | 2 +- src/circularDendrogram/visualOptions.js | 2 +- src/dendrogram/render.js | 2 +- src/dendrogram/visualOptions.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/circularDendrogram/render.js b/src/circularDendrogram/render.js index c2404d0b..9b284312 100644 --- a/src/circularDendrogram/render.js +++ b/src/circularDendrogram/render.js @@ -116,7 +116,7 @@ export function render( // compute padding const padding = (circumference - totalValue) / (hierarchy.leaves().length - 1) - // dictionary to choose algorythm according to options + // dictionary to choose algorithm according to options const layouts = { 'Cluster Dendogram': d3.cluster(), Tree: d3.tree(), diff --git a/src/circularDendrogram/visualOptions.js b/src/circularDendrogram/visualOptions.js index 5cb19da8..f8d974bd 100644 --- a/src/circularDendrogram/visualOptions.js +++ b/src/circularDendrogram/visualOptions.js @@ -57,7 +57,7 @@ export const visualOptions = { layout: { type: 'text', - label: 'Layout algorythm', + label: 'Layout algorithm', group: 'chart', options: ['Cluster Dendogram', 'Tree'], default: 'Tree', diff --git a/src/dendrogram/render.js b/src/dendrogram/render.js index 775d710c..8f6d705b 100644 --- a/src/dendrogram/render.js +++ b/src/dendrogram/render.js @@ -103,7 +103,7 @@ export function render( // compute padding const padding = (chartHeight - totalValue) / (hierarchy.leaves().length - 1) - // dictionary to choose algorythm according to options + // dictionary to choose algorithm according to options const layouts = { 'Cluster Dendogram': d3.cluster(), Tree: d3.tree(), diff --git a/src/dendrogram/visualOptions.js b/src/dendrogram/visualOptions.js index 80039178..53c134f2 100644 --- a/src/dendrogram/visualOptions.js +++ b/src/dendrogram/visualOptions.js @@ -57,7 +57,7 @@ export const visualOptions = { layout: { type: 'text', - label: 'Layout algorythm', + label: 'Layout algorithm', group: 'chart', options: ['Cluster Dendogram', 'Tree'], default: 'Tree',