d3-shape
npmv3.2.0Graphical 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.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Unpacked size of this package plus its entire runtime tree.
Longest resolved dependency chain below this package.
Licenses in the dependency tree
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.
| Package | Weekly downloads | Dependents | License | Last release |
|---|---|---|---|---|
| d3-shapethis page | 0 | 2 | ISC | 3 years ago |
| d3-path | 0 | 1 | ISC | 1 day ago |
| canvas | 0 | 1 | MIT | 1 day ago |
| buffer-image-size | 0 | 1 | MIT | 1 day ago |
| is-unsafe | 0 | 1 | MIT | 1 day ago |
| image-size | 0 | 1 | MIT | 1 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)
Used by
Popular packages that depend on d3-shape.
Relationship graph
Dependencies (left) and dependents (right) of d3-shape.
Frequently installed together
Smooth scrolling for any amount of data
Universal filesystem path utils
Structured diagnostic code library
Vite DevTools Kit
Floating UI for the web
Framework for building one portable devtool integration that runs in any viewer.
A JavaScript text diff implementation.
No description provided.
Native-ESM powered web dev build tool
<!-- automd:badges color=yellow codecov bundlephobia packagephobia -->
Info about your dev environment for debugging purposes
Release history
No releases in the last two years, typically about 23 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 3.2.0latest | 3 years ago | 241 KB | ISC |
| 3.1.0 | 4 years ago | 239 KB | ISC |
| 3.0.1 | 5 years ago | 232 KB | ISC |
| 3.0.0 | 5 years ago | 232 KB | ISC |
| 2.1.0 | 5 years ago | 232 KB | BSD-3-Clause |
| 2.0.0 | 6 years ago | 229 KB | BSD-3-Clause |
| 2.0.0-rc.1 | 6 years ago | 228 KB | BSD-3-Clause |
| 1.3.7 | 6 years ago | 226 KB | BSD-3-Clause |
| 1.3.6 | 6 years ago | 226 KB | BSD-3-Clause |
| 1.3.5 | 7 years ago | 258 KB | BSD-3-Clause |
| 1.3.4 | 7 years ago | 258 KB | BSD-3-Clause |
| 1.3.3 | 7 years ago | 258 KB | BSD-3-Clause |
| 1.3.2 | 7 years ago | 258 KB | BSD-3-Clause |
| 1.3.0 | 7 years ago | 258 KB | BSD-3-Clause |
| 1.2.3 | 7 years ago | 257 KB | BSD-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.
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.