@dpuse/dpuse-tool-d3-visualiser 0.0.59 → 1.0.2

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/README.md CHANGED
@@ -7,13 +7,13 @@
7
7
  [![npm version](https://img.shields.io/npm/v/@dpuse/dpuse-tool-d3-visualiser?color=cb3837&label=npm)](https://www.npmjs.com/package/@dpuse/dpuse-tool-d3-visualiser)
8
8
  [![CI](https://github.com/dpuse/dpuse-tool-d3-visualiser/actions/workflows/ci.yml/badge.svg)](https://github.com/dpuse/dpuse-tool-d3-visualiser/actions/workflows/ci.yml)
9
9
 
10
- [DPUse](https://www.dpuse.app) · [Report a Vulnerability](https://github.com/dpuse/dpuse-tool-d3-visualiser/security/advisories/new) · [Open an Issue](https://github.com/dpuse/dpuse-tool-d3-visualiser/issues)
11
-
12
10
  A TypeScript wrapper for D3, Billboard.js, Observable Plot, and Unovis that implements the Data Positioning chart-rendering interface, providing ERD (dagre), Sankey (d3-sankey), chord (Unovis), network (d3-force), tree (d3-hierarchy), and bar chart (billboard.js, Observable Plot) renderers.
13
11
 
12
+ [Report a Vulnerability](https://github.com/dpuse/dpuse-tool-d3-visualiser/security/advisories/new) · [Open an Issue](https://github.com/dpuse/dpuse-tool-d3-visualiser/issues)
13
+
14
14
  ## About DPUse
15
15
 
16
- DPUse (Data Positioning & Use) is an in-browser application that positions your data for use through three core activities: sourcing, contextualising, and publishing.
16
+ [DPUse](https://www.dpuse.app) (Data Positioning & Use) is an in-browser application that positions your data for use through three core activities: sourcing, contextualising, and publishing.
17
17
 
18
18
  **Sourcing** uses a library of [Connectors](https://www.dpuse.app/connectors) to establish [Connections](https://www.dpuse.app) to applications, databases, file stores, and curated datasets; these connections are subsequently used to configure structured [Data Views](https://www.dpuse.app) from the underlying sources.
19
19
 
@@ -29,6 +29,8 @@ In addition, DPUse provides [Tools](https://www.dpuse.app) used by the applicati
29
29
 
30
30
  Consider adding support for Plotly.js, Unovis, Vega and Vega-Lite.
31
31
 
32
+ Consider and Echarts visualiser, maybe Plotly.js.
33
+
32
34
  <!-- OPENING_END -->
33
35
 
34
36
  ## Design Notes
@@ -319,7 +321,7 @@ _Note: Sonda's Vite reports currently exclude CSS files, since Vite does not gen
319
321
  | &nbsp;&nbsp;&nbsp;&nbsp;src → billboardJs.ts | `░░░░░░░░░░░░░░░░░░░░` 0.1% · 295 B |
320
322
  | &nbsp;&nbsp;&nbsp;&nbsp;d3-selection → src/selectAll.js | `░░░░░░░░░░░░░░░░░░░░` 0.1% · 135 B |
321
323
  | &nbsp;&nbsp;&nbsp;&nbsp;(bundler output, whitespace & JSON) | `█░░░░░░░░░░░░░░░░░░░` 6.8% · 17.9 kB |
322
- | **dist/observablePlot-B_JYDIbq.js** | 223.5 kB · gzip 67.2 kB · 23.3% of the build |
324
+ | **dist/observablePlot-Bk7j7AUD.js** | 223.5 kB · gzip 67.2 kB · 23.3% of the build |
323
325
  | &nbsp;&nbsp;&nbsp;&nbsp;@observablehq/plot | `████████████░░░░░░░░` 60.2% · 134.5 kB |
324
326
  | &nbsp;&nbsp;&nbsp;&nbsp;d3-geo | `███░░░░░░░░░░░░░░░░░` 14.4% · 32.3 kB |
325
327
  | &nbsp;&nbsp;&nbsp;&nbsp;d3-scale-chromatic | `██░░░░░░░░░░░░░░░░░░` 8.0% · 17.8 kB |
@@ -329,9 +331,9 @@ _Note: Sonda's Vite reports currently exclude CSS files, since Vite does not gen
329
331
  | &nbsp;&nbsp;&nbsp;&nbsp;d3-shape | `░░░░░░░░░░░░░░░░░░░░` 1.1% · 2.5 kB |
330
332
  | &nbsp;&nbsp;&nbsp;&nbsp;d3-interpolate | `░░░░░░░░░░░░░░░░░░░░` 0.6% · 1.4 kB |
331
333
  | &nbsp;&nbsp;&nbsp;&nbsp;isoformat | `░░░░░░░░░░░░░░░░░░░░` 0.3% · 799 B |
332
- | &nbsp;&nbsp;&nbsp;&nbsp;src → observablePlot.ts | `░░░░░░░░░░░░░░░░░░░░` 0.3% · 785 B |
334
+ | &nbsp;&nbsp;&nbsp;&nbsp;src → observablePlot.ts | `░░░░░░░░░░░░░░░░░░░░` 0.3% · 789 B |
333
335
  | &nbsp;&nbsp;&nbsp;&nbsp;(bundler output, whitespace & JSON) | `██░░░░░░░░░░░░░░░░░░` 9.1% · 20.3 kB |
334
- | **dist/tanStackCharts-NvzPwGs\_.js** | 125.4 kB · gzip 36.4 kB · 13.1% of the build |
336
+ | **dist/tanStackCharts-DuJwwUCO.js** | 125.4 kB · gzip 36.3 kB · 13.1% of the build |
335
337
  | &nbsp;&nbsp;&nbsp;&nbsp;@tanstack/charts | `██████████████████░░` 88.9% · 111.4 kB |
336
338
  | &nbsp;&nbsp;&nbsp;&nbsp;d3-shape | `░░░░░░░░░░░░░░░░░░░░` 2.0% · 2.5 kB |
337
339
  | &nbsp;&nbsp;&nbsp;&nbsp;src → tanStackCharts.ts | `░░░░░░░░░░░░░░░░░░░░` 0.6% · 717 B |
@@ -417,7 +419,7 @@ _Note: Sonda's Vite reports currently exclude CSS files, since Vite does not gen
417
419
  | **dist/path-BoJ8LMXE.js** | 2.7 kB · gzip 1.1 kB · 0.3% of the build |
418
420
  | &nbsp;&nbsp;&nbsp;&nbsp;d3-path → src/path.js | `███████████████████░` 93.2% · 2.6 kB |
419
421
  | &nbsp;&nbsp;&nbsp;&nbsp;(bundler output, whitespace & JSON) | `█░░░░░░░░░░░░░░░░░░░` 6.8% · 190 B |
420
- | **dist/dpuse-tool-d3-visualiser.es.js** | 2.3 kB · gzip 568 B · 0.2% of the build |
422
+ | **dist/dpuse-tool-d3-visualiser.es.js** | 2.3 kB · gzip 569 B · 0.2% of the build |
421
423
  | &nbsp;&nbsp;&nbsp;&nbsp;src → index.ts | `██████████████████░░` 88.1% · 2.0 kB |
422
424
  | &nbsp;&nbsp;&nbsp;&nbsp;(bundler output, whitespace & JSON) | `██░░░░░░░░░░░░░░░░░░` 11.9% · 279 B |
423
425
  | **dist/band-p1VbTxZM.js** | 2.1 kB · gzip 813 B · 0.2% of the build |
@@ -10,7 +10,7 @@ var e = class {
10
10
  };
11
11
  }
12
12
  async renderObservablePlot(e, t, n, r) {
13
- let { renderObservablePlot: i } = await import("./observablePlot-B_JYDIbq.js"), a = i(e, t, n);
13
+ let { renderObservablePlot: i } = await import("./observablePlot-Bk7j7AUD.js"), a = i(e, t, n);
14
14
  return r?.(), {
15
15
  resize: a.resize,
16
16
  get svg() {
@@ -30,7 +30,7 @@ var e = class {
30
30
  };
31
31
  }
32
32
  async renderTanStackCharts(e, t, n) {
33
- let { renderTanStackCharts: r } = await import("./tanStackCharts-NvzPwGs_.js"), i = r(e, t);
33
+ let { renderTanStackCharts: r } = await import("./tanStackCharts-DuJwwUCO.js"), i = r(e, t);
34
34
  return n?.(), {
35
35
  destroy: i.destroy,
36
36
  resize: i.resize,
@@ -6877,7 +6877,7 @@ function ov(e, t, n) {
6877
6877
  function r() {
6878
6878
  n.replaceChildren();
6879
6879
  let r = n.clientWidth || rv, i = n.clientHeight || iv, a = av[e](t, r, i);
6880
- if (n.append(a), !(a instanceof SVGSVGElement)) throw Error("Expected Observable Plot to render an SVG element.");
6880
+ if (n.append(a), !(a instanceof SVGSVGElement)) throw TypeError("Expected Observable Plot to render an SVG element.");
6881
6881
  return a;
6882
6882
  }
6883
6883
  let i = r();