Class: Clustering

Clustering()

Clustering Visualization Component Displays clustering results from the SOM

Constructor

new Clustering()

Source:

Classes

Clustering

Methods

(async) init()

Initialize the visualization

.

Initialize the visualization

Source:

render()

Render the visualization

.

Render the visualization

Source:

renderLegend()

Render the cluster legend

.

Render the cluster legend

Source:

selectCluster(clusterIndex)

Select a cluster to display details

.

Select a cluster to display details

Parameters:
Name Type Description
clusterIndex number

Index of the cluster to select

Source:

setupSVG()

Set up the SVG container

.

Set up the SVG container

Source:

setupScales()

Set up D3 scales

.

Set up D3 scales

Source:

updateClusters(clusters)

Update clusters with new data

.

Update clusters with new data

Parameters:
Name Type Description
clusters Array

Array of cluster data

Source: