JavaScript & React libraryAPIEnumerationsCosmographPointSizeStrategy

Enumeration: CosmographPointSizeStrategy

Enumeration Members

Enumeration MemberValueDescription
Degree"degree"Sizes points based on their degree (number of connections) within the pointSizeRange size range with quantile-based boundaries. - Minimum and maximum values are clamped to 5th and 95th percentiles of total degree distribution - Has effect only if links provided
PreciseDegree"preciseDegree"Sizes points based on their degree (number of connections) within the pointSizeRange size range without quantile-based boundaries. - Has effect only if links provided
Auto"auto"Automatically sizes points using symmetric log scaling with quantile-based data boundaries based on the pointSizeBy data. Uses pointSizeRange to determine the min/max size range. - Has effect only if pointSizeBy provided and contains numeric data.
Direct"direct"Directly uses pointSizeBy column values as point sizes. - If pointSizeByFn exists, applies it to transform pointSizeBy values into custom sizes with it - Falls back to pointDefaultSize if invalid size - If neither CosmographConfig.pointSizeBy nor CosmographConfig.pointSizeByFn exist, sizes all points with pointDefaultSize
Single"single"Sizes all points uniformly to the same size specified by pointDefaultSize.