Global

Members

attributeTable :d3.Selection.<any, any, HTMLElement, any>

Type:
  • d3.Selection.<any, any, HTMLElement, any>
Source:

(constant) cellHeight :number

Type:
  • number
Source:

(constant) cellWidth :number

Type:
  • number
Source:

comparisonView :d3.Selection.<any, any, HTMLElement, any>

Type:
  • d3.Selection.<any, any, HTMLElement, any>
Source:

comparisonViewOverlay :d3.Selection.<any, any, HTMLDivElement, any>

Type:
  • d3.Selection.<any, any, HTMLDivElement, any>
Source:

comparisonViewOverlaySvg :d3.Selection.<any, any, SVGSVGElement, any>

Type:
  • d3.Selection.<any, any, SVGSVGElement, any>
Source:

currentData :d3.DSVRowArray.<string>

Type:
  • d3.DSVRowArray.<string>
Source:

currentDataDominated

Source:

currentDataNumericAttributes :Array.<string>

Type:
  • Array.<string>
Source:

currentDataPath :string

Type:
  • string
Source:

currentDataSkyline

Source:

currentDataSkylineDominationScores

Store the domination score of the skyline points (`scores` property). Furthermore, store the min and max domination scores.
Source:

currentDataSkylineNumericOnly

Source:

currentDataSkylineNumericOnlyMinMax

Store the min and max values for each numeric attribute (column).
Source:

currentDataSkylineNumericOnlyRelativeRankings :Array.<Map>

Store the relative ranking of all skyline points per attribute.
Type:
  • Array.<Map>
Source:

(constant) detailCellHeight :number

Type:
  • number
Source:

divergingData :Array.<array>

Type:
  • Array.<array>
Source:

(constant) MatrixColors :Array.<string>

Colors for the detail matrix in the tabular view
Type:
  • Array.<string>
Source:

PointNameColumnIndex :number

The column index to use for tooltip titles
Type:
  • number
Source:

projectionView :d3.Selection.<any, any, SVGSVGElement, any>

Type:
  • d3.Selection.<any, any, SVGSVGElement, any>
Source:

projectionViewPositions :Array.<Array.<number>>

Type:
  • Array.<Array.<number>>
Source:

projectionViewSelectedIndex :number

Type:
  • number
Source:

projectionViewTooltip :d3.Selection.<any, any, HTMLDivElement, any>

Type:
  • d3.Selection.<any, any, HTMLDivElement, any>
Source:

selectedSkylinePointIndices :Array.<number>

Type:
  • Array.<number>
Source:

tabularView :d3.Selection.<any, any, HTMLElement, any>

Type:
  • d3.Selection.<any, any, HTMLElement, any>
Source:

uniqueKey :string

Store the unique key or id field name of the data
Type:
  • string
Source:

Methods

(async) buildAll()

Build all views. Should be called when new data is loaded or if the current data (or its layout) has changed (e.g. when rearranging the attribute table).
Source:

(async) buildAttributeTable()

Build the attribute table. At first, any existing entries are removed and then the table is filled with the attributes of the currently loaded data.
Source:

(async) buildComparisonView()

Build the comparison view.
Source:

(async) buildProjectionView()

Build the projection view. DISCLAIMER: The code for the creation of the t-SNE algorithm was inspired by https://bl.ocks.org/Fil/b07d09162377827f1b3e266c43de6d2a and https://bl.ocks.org/Fil/33066cb4f74d35a737355f3b7a2c26b1.
Source:

(async) buildTabularView()

Build the tabular view.
Source:

buildTabularViewTable(table) → {columns}

Build the table of the tabular view
Parameters:
Name Type Description
table table The table to build the header for
Source:
Returns:
Returns the columns of the table
Type
columns

buildTabularViewTableBody(table, columns) → {columns}

Build the body of the tabular view table
Parameters:
Name Type Description
table table The table to build the body for
columns columns The columns of the table
Source:
Returns:
Returns the rows of the body
Type
columns

(async) calcDivergingData()

Calculate differences between the given point and all others for the current attribute (column) and remember the index of the point for later highlighting. The calculation is according to the papers equation in section 6.2 Tabular View
Source:

(async) calculateSkylinePoints()

Calculate the skyline points of the currently loaded data.
Source:

createDetailMatrix(dataset, row, key)

Creates the detail matrix of an table entry below it
Parameters:
Name Type Description
dataset The dataset to use
row The table row where the matrix should be appended
key The unique key of the row in the data
Source:

determineDecisiveSubspaces(skyline, subspace, parentSubspace)

Determine decisive subspaces for every skyline point. The algorithm is based on: J. Pei, W. Jin, M. Ester, and Y. Tao. Catching the best views of skyline: A semantic approach based on decisive subspaces. In Proceedings of the 31st International Conference on Very Large Data Bases, pages 253–264. VLDB Endowment, 2005
Parameters:
Name Type Description
skyline The current skyline of all points
subspace The subspace to search
parentSubspace The subspace of the parent
Source:

(async) disablePlaceholders()

Disable all placeholders.
Source:

dominates(point1, point2) → {boolean}

Checks if `point1` dominates `point2`.
Parameters:
Name Type Description
point1 d3.DSVRowString.<string> Dominating point
point2 d3.DSVRowString.<string> Dominated point
Source:
Returns:
true, if `point1` dominates `point2`.
Type
boolean

(async) drawProjectionView(update, end)

Draw the projection view with positions given in projectionViewPositions.
Parameters:
Name Type Default Description
update boolean true If true, the projection view gets updated. If false, the projection view gets recreated.
end boolean false If true, all listeners are added (false by default to increase performance during simulation).
Source:

euclideanDistance(vec1, vec2) → {number}

Calculates the euclidean distance between two vectors.
Parameters:
Name Type Description
vec1 Array.<number>
vec2 Array.<number>
Source:
Returns:
euclidean distance
Type
number

filterData(key, value, arg) → {boolean}

Filter a key/value pair according to filter string
Parameters:
Name Type Description
key The key, i.e column
value The value, i.e value in column
arg The filter argument (col = val, col < val, col > val)
Source:
Returns:
Type
boolean

findMinMax(column) → {Object}

Find the minimum and maximum value of the column of the current data.
Parameters:
Name Type Description
column string Name of the column
Source:
Returns:
Minimum and maximum value of the column.
Type
Object

getProjectionViewProps() → {Object}

Calculates the properties needed to build, draw and process the projeciton view.
Source:
Returns:
projection view properties
Type
Object

(async) init()

Perform initial configuration.
Source:

isNumericAttribute(column) → {boolean}

Check if the column of the current data is numeric.
Parameters:
Name Type Description
column string Name of the column
Source:
Returns:
Returns true, if the column is numeric.
Type
boolean

(async) loadData(filepath)

Load new data. New data is only loaded, if it is not already loaded.
Parameters:
Name Type Description
filepath string Path to the csv-file that contains the new data.
Source:

selectSkylinePoint(skylinePointIndex)

Selects or deselects a skyline point. A maximum of 4 points can be selected.
Parameters:
Name Type Description
skylinePointIndex d3.DSVRowString.<string> Index of the skyline point the shall be de-/selected
Source: