scatter-matrix

0.2.5 • Public • Published

build status npm version


scatter-matrix.js

scatter-matrix.js (SM) is a JavaScript library for drawing scatterplot matrix. SM handles matrix data in CSV format: rows represent samples and columns represent observations. SM interprets the first row as a header. All numeric columns appear as rows and columns of the scatterplot matrix.

SM is a simple extension/generalization of Mike Bostock's scatterplot matrix example. Additional features include

  • User can color dots by values of a non-numeric observation.
  • User can filter data by values of a non-numeric observation.
  • User can decide what numeric observations to include in the matrix.
  • User can expand the matrix and view data by fixing one or more observations at set values.

For demo, see https://ginkgobioworks.github.io/scatter-matrix/demo/demo.html

Installation

To install:

npm install --save scatter-matrix

If you're not using npm as a package manager, this library is available in a UMD build at unpkg that you can use in a <script> tag in the browser, or install with bower. The UMD build makes ScatterMatrix available as a window.ScatterMatrix global variable.

Readme

Keywords

none

Package Sidebar

Install

npm i scatter-matrix

Weekly Downloads

6

Version

0.2.5

License

MIT

Last publish

Collaborators

  • ginkgo-jamie
  • dpca
  • ginkgomisha