@thi.ng/viz 0.8.12 → 0.8.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +156 -156
- package/CHANGELOG.md +0 -70
package/package.json
CHANGED
|
@@ -1,157 +1,157 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
}
|
|
2
|
+
"name": "@thi.ng/viz",
|
|
3
|
+
"version": "0.8.17",
|
|
4
|
+
"description": "Declarative, functional & multi-format data visualization toolkit based around @thi.ng/hiccup",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"module": "./index.js",
|
|
7
|
+
"typings": "./index.d.ts",
|
|
8
|
+
"sideEffects": false,
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "https://github.com/thi-ng/umbrella.git"
|
|
12
|
+
},
|
|
13
|
+
"homepage": "https://thi.ng/viz",
|
|
14
|
+
"funding": [
|
|
15
|
+
{
|
|
16
|
+
"type": "github",
|
|
17
|
+
"url": "https://github.com/sponsors/postspectacular"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"type": "patreon",
|
|
21
|
+
"url": "https://patreon.com/thing_umbrella"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"type": "liberapay",
|
|
25
|
+
"url": "https://liberapay.com/thi.ng"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"author": "Karsten Schmidt (https://thi.ng)",
|
|
29
|
+
"license": "Apache-2.0",
|
|
30
|
+
"scripts": {
|
|
31
|
+
"build": "yarn build:esbuild && yarn build:decl",
|
|
32
|
+
"build:decl": "tsc --declaration --emitDeclarationOnly",
|
|
33
|
+
"build:esbuild": "esbuild --format=esm --platform=neutral --target=es2022 --tsconfig=tsconfig.json --outdir=. src/**/*.ts",
|
|
34
|
+
"clean": "bun ../../tools/src/clean-package.ts axis plot",
|
|
35
|
+
"doc": "typedoc --options ../../typedoc.json --out doc src/index.ts",
|
|
36
|
+
"doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
|
|
37
|
+
"pub": "npm publish --access public",
|
|
38
|
+
"test": "bun test",
|
|
39
|
+
"tool:bars": "bun tools/bars.ts",
|
|
40
|
+
"tool:candles": "bun tools/candles.ts",
|
|
41
|
+
"tool:covid": "bun tools/covid-bars.ts",
|
|
42
|
+
"tool:intervals": "bun tools/intervals.ts",
|
|
43
|
+
"tool:line": "bun tools/line.ts",
|
|
44
|
+
"tool:tags": "bun tools/tagcloud.ts",
|
|
45
|
+
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
46
|
+
},
|
|
47
|
+
"dependencies": {
|
|
48
|
+
"@thi.ng/api": "^8.12.6",
|
|
49
|
+
"@thi.ng/arrays": "^2.13.15",
|
|
50
|
+
"@thi.ng/checks": "^3.7.22",
|
|
51
|
+
"@thi.ng/math": "^5.13.3",
|
|
52
|
+
"@thi.ng/object-utils": "^1.2.14",
|
|
53
|
+
"@thi.ng/strings": "^3.9.26",
|
|
54
|
+
"@thi.ng/transducers": "^9.6.14",
|
|
55
|
+
"@thi.ng/vectors": "^8.6.10"
|
|
56
|
+
},
|
|
57
|
+
"devDependencies": {
|
|
58
|
+
"@thi.ng/date": "^2.7.68",
|
|
59
|
+
"esbuild": "^0.25.11",
|
|
60
|
+
"typedoc": "^0.28.14",
|
|
61
|
+
"typescript": "^5.9.3"
|
|
62
|
+
},
|
|
63
|
+
"keywords": [
|
|
64
|
+
"2d",
|
|
65
|
+
"analysis",
|
|
66
|
+
"area",
|
|
67
|
+
"bar",
|
|
68
|
+
"candle",
|
|
69
|
+
"canvas",
|
|
70
|
+
"chart",
|
|
71
|
+
"clipping",
|
|
72
|
+
"dataviz",
|
|
73
|
+
"declarative",
|
|
74
|
+
"hiccup",
|
|
75
|
+
"interval",
|
|
76
|
+
"line",
|
|
77
|
+
"plot",
|
|
78
|
+
"scatter",
|
|
79
|
+
"svg",
|
|
80
|
+
"timeline",
|
|
81
|
+
"transducer",
|
|
82
|
+
"typescript",
|
|
83
|
+
"visualization"
|
|
84
|
+
],
|
|
85
|
+
"publishConfig": {
|
|
86
|
+
"access": "public"
|
|
87
|
+
},
|
|
88
|
+
"engines": {
|
|
89
|
+
"node": ">=18"
|
|
90
|
+
},
|
|
91
|
+
"files": [
|
|
92
|
+
"./*.js",
|
|
93
|
+
"./*.d.ts",
|
|
94
|
+
"axis",
|
|
95
|
+
"plot"
|
|
96
|
+
],
|
|
97
|
+
"exports": {
|
|
98
|
+
".": {
|
|
99
|
+
"default": "./index.js"
|
|
100
|
+
},
|
|
101
|
+
"./api": {
|
|
102
|
+
"default": "./api.js"
|
|
103
|
+
},
|
|
104
|
+
"./axis/common": {
|
|
105
|
+
"default": "./axis/common.js"
|
|
106
|
+
},
|
|
107
|
+
"./axis/lens": {
|
|
108
|
+
"default": "./axis/lens.js"
|
|
109
|
+
},
|
|
110
|
+
"./axis/linear": {
|
|
111
|
+
"default": "./axis/linear.js"
|
|
112
|
+
},
|
|
113
|
+
"./axis/log": {
|
|
114
|
+
"default": "./axis/log.js"
|
|
115
|
+
},
|
|
116
|
+
"./domain": {
|
|
117
|
+
"default": "./domain.js"
|
|
118
|
+
},
|
|
119
|
+
"./plot/area": {
|
|
120
|
+
"default": "./plot/area.js"
|
|
121
|
+
},
|
|
122
|
+
"./plot/bar": {
|
|
123
|
+
"default": "./plot/bar.js"
|
|
124
|
+
},
|
|
125
|
+
"./plot/candle": {
|
|
126
|
+
"default": "./plot/candle.js"
|
|
127
|
+
},
|
|
128
|
+
"./plot/line": {
|
|
129
|
+
"default": "./plot/line.js"
|
|
130
|
+
},
|
|
131
|
+
"./plot/scatter": {
|
|
132
|
+
"default": "./plot/scatter.js"
|
|
133
|
+
},
|
|
134
|
+
"./plot/stacked-intervals": {
|
|
135
|
+
"default": "./plot/stacked-intervals.js"
|
|
136
|
+
},
|
|
137
|
+
"./plot/utils": {
|
|
138
|
+
"default": "./plot/utils.js"
|
|
139
|
+
},
|
|
140
|
+
"./plot/vector-field": {
|
|
141
|
+
"default": "./plot/vector-field.js"
|
|
142
|
+
},
|
|
143
|
+
"./plot": {
|
|
144
|
+
"default": "./plot.js"
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
"thi.ng": {
|
|
148
|
+
"related": [
|
|
149
|
+
"hiccup",
|
|
150
|
+
"hiccup-canvas",
|
|
151
|
+
"hiccup-svg"
|
|
152
|
+
],
|
|
153
|
+
"status": "alpha",
|
|
154
|
+
"year": 2014
|
|
155
|
+
},
|
|
156
|
+
"gitHead": "136a5e5ef0b69e82329db00d806c3c4e8f1aa063\n"
|
|
157
|
+
}
|
package/CHANGELOG.md
DELETED
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
# Change Log
|
|
2
|
-
|
|
3
|
-
- **Last updated**: 2025-09-01T16:38:35Z
|
|
4
|
-
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
|
|
5
|
-
|
|
6
|
-
All notable changes to this project will be documented in this file.
|
|
7
|
-
Only versions published since **2022-01-01** are listed here.
|
|
8
|
-
Please consult the Git history for older version information.
|
|
9
|
-
See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
|
|
10
|
-
|
|
11
|
-
**Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
|
|
12
|
-
and/or version bumps of transitive dependencies.
|
|
13
|
-
|
|
14
|
-
## [0.8.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/viz@0.8.0) (2025-07-17)
|
|
15
|
-
|
|
16
|
-
#### 🚀 Features
|
|
17
|
-
|
|
18
|
-
- add vectorField() plot fn & helpers ([3d2263c](https://github.com/thi-ng/umbrella/commit/3d2263c))
|
|
19
|
-
|
|
20
|
-
## [0.7.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/viz@0.7.0) (2025-02-24)
|
|
21
|
-
|
|
22
|
-
#### 🚀 Features
|
|
23
|
-
|
|
24
|
-
- update BarPlot shape function args ([3037d59](https://github.com/thi-ng/umbrella/commit/3037d59))
|
|
25
|
-
- first arg to provide original full datum
|
|
26
|
-
|
|
27
|
-
### [0.6.58](https://github.com/thi-ng/umbrella/tree/@thi.ng/viz@0.6.58) (2024-07-16)
|
|
28
|
-
|
|
29
|
-
#### ♻️ Refactoring
|
|
30
|
-
|
|
31
|
-
- update/fix/dedupe internal domain data resolution ([17957a5](https://github.com/thi-ng/umbrella/commit/17957a5))
|
|
32
|
-
|
|
33
|
-
### [0.6.55](https://github.com/thi-ng/umbrella/tree/@thi.ng/viz@0.6.55) (2024-06-21)
|
|
34
|
-
|
|
35
|
-
#### ♻️ Refactoring
|
|
36
|
-
|
|
37
|
-
- enforce uniform naming convention of internal functions ([56992b2](https://github.com/thi-ng/umbrella/commit/56992b2))
|
|
38
|
-
|
|
39
|
-
### [0.6.34](https://github.com/thi-ng/umbrella/tree/@thi.ng/viz@0.6.34) (2024-02-22)
|
|
40
|
-
|
|
41
|
-
#### ♻️ Refactoring
|
|
42
|
-
|
|
43
|
-
- update object destructuring in all pkgs & examples ([f36aeb0](https://github.com/thi-ng/umbrella/commit/f36aeb0))
|
|
44
|
-
|
|
45
|
-
### [0.6.10](https://github.com/thi-ng/umbrella/tree/@thi.ng/viz@0.6.10) (2023-11-09)
|
|
46
|
-
|
|
47
|
-
#### ♻️ Refactoring
|
|
48
|
-
|
|
49
|
-
- update all tests (packages T-Z) ([020ef6c](https://github.com/thi-ng/umbrella/commit/020ef6c))
|
|
50
|
-
|
|
51
|
-
## [0.6.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/viz@0.6.0) (2023-10-05)
|
|
52
|
-
|
|
53
|
-
#### 🚀 Features
|
|
54
|
-
|
|
55
|
-
- update stackedIntervals(), add docs ([fa7b05c](https://github.com/thi-ng/umbrella/commit/fa7b05c))
|
|
56
|
-
- store computed number of lanes as "data-num-lanes" attrib in
|
|
57
|
-
generated top-level group
|
|
58
|
-
- add doc strings for StackedIntervalOpts
|
|
59
|
-
|
|
60
|
-
### [0.5.5](https://github.com/thi-ng/umbrella/tree/@thi.ng/viz@0.5.5) (2023-09-19)
|
|
61
|
-
|
|
62
|
-
#### ♻️ Refactoring
|
|
63
|
-
|
|
64
|
-
- update hiccup/SVG generators ([37c532f](https://github.com/thi-ng/umbrella/commit/37c532f))
|
|
65
|
-
|
|
66
|
-
## [0.5.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/viz@0.5.0) (2023-08-28)
|
|
67
|
-
|
|
68
|
-
#### 🚀 Features
|
|
69
|
-
|
|
70
|
-
- add dataBoundsLog() ([b2b0824](https://github.com/thi-ng/umbrella/commit/b2b0824))
|