Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
Generated on May 8, 2024 via pnpm

d3 7.8.5

Data-Driven Documents
Package summary
Share
0
issues
4
licenses
32
ISC
3
MIT
2
BSD-3-Clause
1
Unlicense
Package created
18 Aug 2011
Version published
3 Jun 2023
Maintainers
2
Total deps
38
Direct deps
30
License
ISC

Issues

0
This package has no issues

Licenses

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
32 Packages, Including:
d3-array@3.2.4
d3-axis@3.0.0
d3-brush@3.0.0
d3-chord@3.0.1
d3-color@3.1.0
d3-contour@4.0.2
d3-delaunay@6.0.4
d3-dispatch@3.0.1
d3-drag@3.0.0
d3-dsv@3.0.1
d3-fetch@3.0.1
d3-force@3.0.0
d3-format@3.1.0
d3-geo@3.1.1
d3-hierarchy@3.1.2
d3-interpolate@3.0.1
d3-path@3.1.0
d3-polygon@3.0.1
d3-quadtree@3.0.1
d3-random@3.0.1
d3-scale-chromatic@3.1.0
d3-scale@4.0.2
d3-selection@3.0.0
d3-shape@3.2.0
d3-time-format@4.1.0
d3-time@3.1.0
d3-timer@3.0.1
d3-transition@3.0.1
d3-zoom@3.0.0
d3@7.8.5
delaunator@5.0.1
internmap@2.0.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@7.2.0
iconv-lite@0.6.3
safer-buffer@2.1.2

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
2 Packages, Including:
d3-ease@3.0.1
rw@1.3.3

The Unlicense

Public Domain
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
private-use
modify
Cannot
include-copyright
hold-liable
Must
1 Packages, Including:
robust-predicates@3.0.2
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-array3.2.437.48 kBISC
prod
d3-axis3.0.07.44 kBISC
prod
d3-brush3.0.013.89 kBISC
prod
d3-chord3.0.18.4 kBISC
prod
d3-color3.1.013.96 kBISC
prod
d3-contour4.0.211.28 kBISC
prod
d3-delaunay6.0.425.33 kBISC
prod
d3-dispatch3.0.14.89 kBISC
prod
d3-drag3.0.010.83 kBISC
prod
d3-dsv3.0.111.78 kBISC
prod
d3-ease3.0.17.66 kBBSD-3-Clause
prod
d3-fetch3.0.14.62 kBISC
prod
d3-force3.0.018.74 kBISC
prod
d3-format3.1.014.48 kBISC
prod
d3-geo3.1.1221.74 kBISC
prod
d3-hierarchy3.1.236.47 kBISC
prod
d3-interpolate3.0.117.62 kBISC
prod
d3-path3.1.05.62 kBISC
prod
d3-polygon3.0.14.76 kBISC
prod
d3-quadtree3.0.110.46 kBISC
prod
d3-random3.0.18.58 kBISC
prod
d3-scale-chromatic3.1.073.92 kBISC
prod
d3-scale4.0.232.41 kBISC
prod
d3-selection3.0.032.24 kBISC
prod peer
d3-shape3.2.050.19 kBISC
prod
d3-time-format4.1.020.89 kBISC
prod
d3-time3.1.013.23 kBISC
prod
d3-timer3.0.15.64 kBISC
prod
d3-transition3.0.122.44 kBISC
prod
d3-zoom3.0.017.68 kBISC
prod

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.