</>PackageGraphPackageGraph

d3-shape

npmv3.2.0

Graphical primitives for visualization, such as lines and areas.

Not recommended for new projects

No — d3-shape should not be adopted for new projects. Last published 1359 days ago.

  • ?Adoption: grade ?, Not reported by this registry.

    No download data reported for this package yet.

  • FMaintenance: grade F, Failing.

    Last published 1359 days ago.

  • AWeight: grade A, Excellent.

    Pulls in 1 transitive package, about 262 KB installed.

  • ASupply chain: grade A, Excellent.

    No install scripts, 2 maintainers, and a contained dependency surface.

  • ALicense: grade A, Excellent.

    ISC — permissive, with no copyleft found in the dependency tree.

Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.

Install cost

What you actually take on by adding d3-shape to a project.

1
Direct dependencies

Runtime packages this one declares itself.

1
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

262 KB
Install size

Unpacked size of this package plus its entire runtime tree.

1
Tree depth

Longest resolved dependency chain below this package.

Licenses in the dependency tree

ISC

Every license you inherit by installing d3-shape, not just its own. Check this before a legal review, not after.

Compatibility

Node.js
node >=12
Module format
ESM + CommonJS
TypeScript
No bundled types
Install scripts
None

Quick start

A usage example from the d3-shape README.

const line = d3.line()
    .x(d => x(d.date))
    .y(d => y(d.value));

d3-shape vs the alternatives

Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.

PackageWeekly downloadsDependentsLicenseLast release
d3-shapethis page02ISC3 years ago
d3-path01ISC1 day ago
canvas01MIT1 day ago
buffer-image-size01MIT1 day ago
is-unsafe01MIT1 day ago
image-size01MIT1 day ago

Dependencies

Declared by d3-shape v3.2.0. Runtime dependencies are installed with the package; dev dependencies are not.

Runtime (1)

Dev (5)

d3-polygon 1 - 3eslint 8mocha 10rollup 3rollup-plugin-terser 7

Used by

Popular packages that depend on d3-shape.

Relationship graph

Dependencies (left) and dependents (right) of d3-shape.

Frequently installed together

Release history

No releases in the last two years, typically about 23 days apart.

Recent versions of d3-shape
VersionPublishedSizeLicense
3.2.0latest3 years ago241 KBISC
3.1.04 years ago239 KBISC
3.0.15 years ago232 KBISC
3.0.05 years ago232 KBISC
2.1.05 years ago232 KBBSD-3-Clause
2.0.06 years ago229 KBBSD-3-Clause
2.0.0-rc.16 years ago228 KBBSD-3-Clause
1.3.76 years ago226 KBBSD-3-Clause
1.3.66 years ago226 KBBSD-3-Clause
1.3.57 years ago258 KBBSD-3-Clause
1.3.47 years ago258 KBBSD-3-Clause
1.3.37 years ago258 KBBSD-3-Clause
1.3.27 years ago258 KBBSD-3-Clause
1.3.07 years ago258 KBBSD-3-Clause
1.2.37 years ago257 KBBSD-3-Clause

Overview

d3-shape is an npm package that graphical primitives for visualization, such as lines and areas. It has 2 known dependents in the graph. The latest version is 3.2.0, released under the ISC license.

Who should use it

Teams working in the npm ecosystem who need graphical primitives for visualization, such as lines and areas and value a focused solution.

When not to use it

Consider an alternative if you need to have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your npm stack.

Pros

  • Clear open-source license (ISC).

Cons

  • No bundled TypeScript types (may require a separate @types package).

Auto-generated from collected registry metadata. No external claims are inferred.

Maintainers

Keywords

Frequently asked questions

Should I use d3-shape?

No — d3-shape should not be adopted for new projects. Last published 1359 days ago.

How do I install d3-shape?

Run `npm install d3-shape` to add d3-shape to your npm project.

How many dependencies does d3-shape have?

d3-shape declares 6 direct dependencies and pulls in 1 packages in total once its runtime tree is resolved totalling about 262 KB on disk.

What license is d3-shape released under?

d3-shape is distributed under the ISC license.

How popular is d3-shape?

npm does not publish download counts. Within PackageGraph's crawl, 2 known packages depend on d3-shape.

Is d3-shape still maintained?

The most recent release of d3-shape (v3.2.0) was published 3 years ago.

Does d3-shape run install scripts?

No. d3-shape does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.