Skip to content

Interface: EmbeddingOptions

Defined in: ml/charts.ts:158

Properties

classNames?

ts
optional classNames?: string[];

Defined in: ml/charts.ts:165

Names indexed by numeric label.


colorBy?

ts
optional colorBy?: ArrayLike<number>;

Defined in: ml/charts.ts:167

Continuous value per point → a single colormap series (ignored if labels).


colormap?

ts
optional colormap?: ColormapSpec;

Defined in: ml/charts.ts:168


labels?

ts
optional labels?: string[] | ArrayLike<number>;

Defined in: ml/charts.ts:163

Categorical class per point → one colored, legend-named series each.


name?

ts
optional name?: string;

Defined in: ml/charts.ts:173


palette?

ts
optional palette?: PaletteSpec;

Defined in: ml/charts.ts:169


renderType?

ts
optional renderType?: RenderType;

Defined in: ml/charts.ts:174


size?

ts
optional size?: number;

Defined in: ml/charts.ts:170


text?

ts
optional text?: ArrayLike<string>;

Defined in: ml/charts.ts:172

Per-point hover text (metadata).


x

ts
x: ArrayLike<number>;

Defined in: ml/charts.ts:160

2-D coordinates (t-SNE/UMAP/PCA output).


y

ts
y: ArrayLike<number>;

Defined in: ml/charts.ts:161

MIT licensed. WebGL2 required.