@thi.ng/viz

@thi.ng/viz

npm versionnpm downloads Mastodon Follow

[!NOTE] This is one of 190 standalone projects, maintained as part of the @thi.ng/umbrella monorepo and anti-framework.

🚀 Please help me to work full-time on these projects by sponsoring me on GitHub. Thank you! ❤️

About

Declarative, functional & multi-format data visualization toolkit based around @thi.ng/hiccup.

This package largely started as a port of the visualization module of the Clojure version thi.ng/geom-clj and is still undergoing major redesigns.

For reference & what to expect (links to the Clojure version):

Example outputs
Logarithmic X-axis, linear YLog X, Log Y
Line plot (cartesian)Area plot (cartesian)
Line plot (polar)Area plot (polar)
Single value per domain position3 interleaved values (datasets) per domain position
6 categories, 3 data sets, single values6 categories, 3 data sets, min-max intervals
Heatmap w/ rainbow gradient presets
Heatmap polar projection
w/ custom shape fnpolar projection, custom shape fn
Contour plot

Status

ALPHA - bleeding edge / work-in-progress

Search or submit any issues for this package

Related packages

Installation

yarn add @thi.ng/viz

ES module import:

<script type="module" src="https://cdn.skypack.dev/@thi.ng/viz"></script>

Skypack documentation

For Node.js REPL:

const viz = await import("@thi.ng/viz");

Package sizes (brotli'd, pre-treeshake): ESM: 2.62 KB

Dependencies

API

Generated API docs

TODO

Authors

If this project contributes to an academic publication, please cite it as:

@misc{thing-viz,
title = "@thi.ng/viz",
author = "Karsten Schmidt",
note = "https://thi.ng/viz",
year = 2014
}

License

© 2014 - 2024 Karsten Schmidt // Apache License 2.0

Generated using TypeDoc