Skip to content

lorenasandoval88/statsjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to statsJs!

Multivariate statistical visualization (clustering, correlation, heatmaps, etc) in JavaScript.

live at: https://lorenasandoval88.github.io/statsjs

Loading statsJs ES6 Modules:

sdk = await import("https://lorenasandoval88.github.io/statsjs/sdk.js")

Loading the User Interface (UI):

sdk.pca.loadUI()

Loading statsJs PCA plot only:

sdk.pca.plot( {colors: ["#8C236A", "#4477AA"]} )

options can include the following (order is irrelevant) or be left empty:
{
    divId: "as a string", 
    colors: [...list],
    data: data in JSON format,
    height: 100,
    width: 400
}

Loading statsJs textBox only:

define the text using the built in Iris data. const csv = sdk. pca.data.iris.csv

sdk.textBox( {text: csv} )

options can include the following (order is irrelevant) or be left empty:
{
    divId: "as a string", 
    text: data in csv or text format,
    height: 100,
    width: 400,
    border: "2px solid",
    color: "red"
}

Further documentation can be found on the wiki.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published