pityka/nspl

scala plotting (charting, graphing) library

Scala

101

317 commits

updated Jun 18, 2026

See the code

README

documentation

2d Plotting Library for Scala and Scala.js

Creates scatter, line, contour, raster, barplots and boxplots, histograms, density plots. Composite figure of multiple plots.

Renders to

Usage

See the documentation website at https://pityka.github.io/nspl/ .

This library is built for Scala 2.13 and Scala 3.2.

Maven coordinates:

  • For jvm: libraryDependencies += "io.github.pityka" %% "nspl-awt" % "0.0.???"
  • For canvas (Scala.js): libraryDependencies += "io.github.pityka" %% "nspl-canvas-js" % "0.0.???"

Version policy

nspl uses the recommended versioning scheme enforced with https://github.com/scalacenter/sbt-version-policy.

How to build the website

The website is built with hugo and the hugo-book theme.

The theme is a git submodule. It must be initialized.

git submodule update --init 

Create and serve the site with:

sbt docs/mdoc docs/unidoc && cd website && hugo
canvas2d
charts
data-science
data-visualization
plots
scala
scala-js
scientific-visualization
visualization

Contributors

pityka

250 commits

scala-steward

65 commits

xhoneybear

2 commits

pityka/nspl

scala plotting (charting, graphing) library

Scala

101

317 commits

updated Jun 18, 2026

See the code

README

documentation

2d Plotting Library for Scala and Scala.js

Creates scatter, line, contour, raster, barplots and boxplots, histograms, density plots. Composite figure of multiple plots.

Renders to

Usage

See the documentation website at https://pityka.github.io/nspl/ .

This library is built for Scala 2.13 and Scala 3.2.

Maven coordinates:

  • For jvm: libraryDependencies += "io.github.pityka" %% "nspl-awt" % "0.0.???"
  • For canvas (Scala.js): libraryDependencies += "io.github.pityka" %% "nspl-canvas-js" % "0.0.???"

Version policy

nspl uses the recommended versioning scheme enforced with https://github.com/scalacenter/sbt-version-policy.

How to build the website

The website is built with hugo and the hugo-book theme.

The theme is a git submodule. It must be initialized.

git submodule update --init 

Create and serve the site with:

sbt docs/mdoc docs/unidoc && cd website && hugo
canvas2d
charts
data-science
data-visualization
plots
scala
scala-js
scientific-visualization
visualization

Contributors

pityka

250 commits

scala-steward

65 commits

xhoneybear

2 commits

Languages

Scala

98.6%

HTML

1.4%