Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Generated on Jun 2, 2024 via pnpm

d3 6.7.0

Data-Driven Documents
Package summary
Share
1
issue
1
high severity
vulnerability
1
3
licenses
31
BSD-3-Clause
3
MIT
3
ISC
Package created
18 Aug 2011
Version published
16 Apr 2021
Maintainers
2
Total deps
37
Direct deps
30
License
BSD-3-Clause

Issues

1

1 high severity issue

high
Recommendation: Upgrade to version 3.1.0 or later
via: d3-brush@2.1.0 & others
Collapse
Expand

Licenses

BSD 3-Clause "New" or "Revised" License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
place-warranty
Cannot
use-trademark
hold-liable
Must
include-copyright
include-license
31 Packages, Including:
d3-array@2.12.1
d3-axis@2.1.0
d3-brush@2.1.0
d3-chord@2.0.0
d3-color@2.0.0
d3-contour@2.0.0
d3-dispatch@2.0.0
d3-drag@2.0.0
d3-dsv@2.0.0
d3-ease@2.0.0
d3-fetch@2.0.0
d3-force@2.1.1
d3-format@2.0.0
d3-geo@2.0.2
d3-hierarchy@2.0.0
d3-interpolate@2.0.1
d3-path@2.0.0
d3-polygon@2.0.0
d3-quadtree@2.0.0
d3-random@2.2.2
d3-scale-chromatic@2.0.0
d3-scale@3.3.0
d3-selection@2.0.0
d3-shape@2.1.0
d3-time-format@3.0.0
d3-time@2.1.1
d3-timer@2.0.0
d3-transition@2.0.0
d3-zoom@2.0.0
d3@6.7.0
rw@1.3.3

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
3 Packages, Including:
commander@2.20.3
iconv-lite@0.4.24
safer-buffer@2.1.2

ISC License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
Cannot
hold-liable
Must
include-copyright
include-license
3 Packages, Including:
d3-delaunay@5.3.0
delaunator@4.0.1
internmap@1.0.1
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

30
All Dependencies CSV
β“˜ This is a list of d3 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
d3-array2.12.131.23 kBBSD-3-Clause
prod
d3-axis2.1.07.81 kBBSD-3-Clause
prod
d3-brush2.1.014.22 kBBSD-3-Clause
prod
1
d3-chord2.0.08.59 kBBSD-3-Clause
prod
d3-color2.0.014.81 kBBSD-3-Clause
prod
1
d3-contour2.0.011.2 kBBSD-3-Clause
prod
d3-delaunay5.3.022.79 kBISC
prod
d3-dispatch2.0.05.23 kBBSD-3-Clause
prod
d3-drag2.0.010.99 kBBSD-3-Clause
prod
d3-dsv2.0.012.08 kBBSD-3-Clause
prod
d3-ease2.0.07.69 kBBSD-3-Clause
prod
d3-fetch2.0.04.92 kBBSD-3-Clause
prod
d3-force2.1.120.04 kBBSD-3-Clause
prod
d3-format2.0.014.71 kBBSD-3-Clause
prod
d3-geo2.0.271.79 kBBSD-3-Clause
prod
d3-hierarchy2.0.034.86 kBBSD-3-Clause
prod
d3-interpolate2.0.118.64 kBBSD-3-Clause
prod
1
d3-path2.0.05.67 kBBSD-3-Clause
prod
d3-polygon2.0.05.08 kBBSD-3-Clause
prod
d3-quadtree2.0.010.7 kBBSD-3-Clause
prod
d3-random2.2.28.86 kBBSD-3-Clause
prod
d3-scale-chromatic2.0.024.12 kBBSD-3-Clause
prod
1
d3-scale3.3.032.55 kBBSD-3-Clause
prod
1
d3-selection2.0.032.1 kBBSD-3-Clause
prod peer
d3-shape2.1.048.59 kBBSD-3-Clause
prod
d3-time-format3.0.021.12 kBBSD-3-Clause
prod
d3-time2.1.114.08 kBBSD-3-Clause
prod
d3-timer2.0.05.92 kBBSD-3-Clause
prod
d3-transition2.0.023.43 kBBSD-3-Clause
prod
1
d3-zoom2.0.020.87 kBBSD-3-Clause
prod
1

Visualizations

Frequently Asked Questions

What does d3 do?

D3 or D3.js is a renowned JavaScript library engineered for data visualization. By capitalizing on web standards such as SVG, Canvas, and HTML, D3 facilitates an immersive data-to-life experience. D3's strength lies in its innovative combination of visualization and interaction techniques and a data-driven approach to DOM manipulation. It provides you with the full capabilities of modern browsers giving you the autonomy to design the perfect visual interface for your data.

How do you use d3?

D3 is remarkably easy to use. For instance, you can npm install D3 using npm install d3. You can also import D3 from jsDelivr for vanilla HTML in modern browsers like so:

<script type="module">
import * as d3 from "https://cdn.jsdelivr.net/npm/d3@7/+esm";
const div = d3.selectAll("div");
</script>

If you're working within a legacy environment, the D3’s UMD bundle can be loaded from an npm-based CDN (such as jsDelivr) where a d3 global is exported:

<script src="https://cdn.jsdelivr.net/npm/d3@7"></script>
<script>
const div = d3.selectAll("div");
</script>

For separate D3 microlibraries such as d3-selection, one can use the subsequent code:

<script type="module">
import {selectAll} from "https://cdn.jsdelivr.net/npm/d3-selection@3/+esm";
const div = selectAll("div");
</script>

In an ES2015 application, import specific symbols from specific D3 modules. You can import everything into a namespace (d3), or use dynamic import:

import {scaleLinear} from "d3-scale";
import * as d3 from "d3";
const d3 = await import("d3");

Additionally, you can import individual modules and incorporate them into a d3 object using Object.assign:

const d3 = await Promise.all([
  import("d3-format"),
  import("d3-geo"),
  import("d3-geo-projection")
]).then(d3 => Object.assign({}, ...d3));

Where are the d3 docs?

The D3 documentation can be conveniently found here. It provides a robust API reference to assist users with their data visualization tasks, further supplemented by the Introduction, Releases, Examples, and Wiki resources.