PHPackages                             drupal-package/d3 - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. drupal-package/d3

ActiveDrupal-library

drupal-package/d3
=================

Allows to clone the d3/d3 repository

011JavaScript

Since Nov 26Pushed 5y ago1 watchersCompare

[ Source](https://github.com/drupal-package/d3)[ Packagist](https://packagist.org/packages/drupal-package/d3)[ RSS](/packages/drupal-package-d3/feed)WikiDiscussions master Synced 6d ago

READMEChangelogDependenciesVersions (1)Used By (0)

D3: Data-Driven Documents
=========================

[](#d3-data-driven-documents)

[![](https://camo.githubusercontent.com/cefce8687e83323821ec2cc4d878c76cf06bbde07140a6e3b504daa063e90bb4/68747470733a2f2f64336a732e6f72672f6c6f676f2e737667)](https://d3js.org)

**D3** (or **D3.js**) is a JavaScript library for visualizing data using web standards. D3 helps you bring data to life using SVG, Canvas and HTML. D3 combines powerful visualization and interaction techniques with a data-driven approach to DOM manipulation, giving you the full capabilities of modern browsers and the freedom to design the right visual interface for your data.

Resources
---------

[](#resources)

- [Introduction](https://observablehq.com/@d3/learn-d3)
- [API Reference](https://github.com/d3/d3/blob/master/API.md)
- [Releases](https://github.com/d3/d3/releases)
- [Examples](https://observablehq.com/@d3/gallery)
- [Wiki](https://github.com/d3/d3/wiki)

Installing
----------

[](#installing)

If you use npm, `npm install d3`. Otherwise, download the [latest release](https://github.com/d3/d3/releases/latest). The released bundle supports anonymous AMD, CommonJS, and vanilla environments. You can load directly from [d3js.org](https://d3js.org), [CDNJS](https://cdnjs.com/libraries/d3), or [unpkg](https://unpkg.com/d3/). For example:

```

```

For the minified version:

```

```

You can also use the standalone D3 microlibraries. For example, [d3-selection](https://github.com/d3/d3-selection):

```

```

D3 is written using [ES2015 modules](http://www.2ality.com/2014/09/es6-modules-final.html). Create a [custom bundle using Rollup](https://bl.ocks.org/mbostock/bb09af4c39c79cffcde4), Webpack, or your preferred bundler. To import D3 into an ES2015 application, either import specific symbols from specific D3 modules:

```
import {scaleLinear} from "d3-scale";
```

Or import everything into a namespace (here, `d3`):

```
import * as d3 from "d3";
```

In Node:

```
const d3 = require("d3");
```

You can also require individual modules and combine them into a `d3` object using [Object.assign](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign):

```
const d3 = Object.assign({}, require("d3-format"), require("d3-geo"), require("d3-geo-projection"));
```

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity31

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/9693971?v=4)[Arnaud Bach](/maintainers/Nono95230)[@Nono95230](https://github.com/Nono95230)

---

Top Contributors

[![Nono95230](https://avatars.githubusercontent.com/u/9693971?v=4)](https://github.com/Nono95230 "Nono95230 (1 commits)")

### Embed Badge

![Health badge](/badges/drupal-package-d3/health.svg)

```
[![Health](https://phpackages.com/badges/drupal-package-d3/health.svg)](https://phpackages.com/packages/drupal-package-d3)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
