You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -20,14 +20,14 @@ With the release of version 4, **D3** has been completely modularized and seen e
20
20
Amongst the many changes since the release of **Angular 2**, the native support for developing at scale in TypeScript and the overhauled componentized structure are but two.
21
21
22
22
Combining the power of **D3** and **Angular** can be challenging at first. The intent of this package is to provide a simple way to access **D3** as an **Angular service** for use by components requiring the kind of sophisticated visualization support D3 excels at.
23
-
The package includes TypeScript 2 definitions to improve development experience and code maintainability.
23
+
The package includes TypeScript definitions to improve development experience and code maintainability.
24
24
25
25
## Intended Use
26
26
27
27
This package was designed to quickly add **D3** support to an **Angular** application, such as those created with the **angular-cli**.
28
28
29
29
As is clear from the D3 scope described below, there may be circumstances, where a smaller or larger D3 feature set may be better suited for a given project.
30
-
In such cases reviewing the TypeScript source code in the[package's Github repo](https://github.com/tomwanzek/d3-ng2-service) may serve as a starting point for a more tailored solution.
30
+
In such cases, reviewing the TypeScript source code in this[package's Github repo](https://github.com/tomwanzek/d3-ng2-service) may serve as a starting point for a more tailored solution.
31
31
32
32
A suggested approach may also involve starting out with the **d3-ng2-service** for rapid prototyping. Then, once there is more stability regarding the specific, required **D3** feature set,
33
33
the D3 service pattern can be preserved by implementing the minimally viable D3 service directly in the project. This amounts to manually "treeshaking" D3 in order to preserve the
@@ -37,9 +37,9 @@ For those interested in using the treeshaking performed "automatically" by third
37
37
38
38
## Scope of D3 Functionality
39
39
40
-
As this package is designed for use with **Angular 2+**, it does not strictly mirror the functionality scope included in the [_D3 Standard Bundle_](https://github.com/d3/d3).
40
+
As this package is designed for use with **Angular**, it does not strictly mirror the functionality scope included in the [_D3 Standard Bundle_](https://github.com/d3/d3).
41
41
42
-
The [_d3-request_](https://github.com/d3/d3-request) module has been **omitted** as a design choice given the feature set of **Angular**. By implication, it is recommended to utilize e.g. the **Angular**`http` service for client/server communication. The `d3-ng2-service` package does, however, expose **D3** data parsing functionality such as `csvParse(...)`.
42
+
The [_d3-fetch_](https://github.com/d3/d3-fetch) module has been **omitted** as a design choice given the feature set of **Angular**. By implication, it is recommended to utilize e.g. **Angular's**`HttpClient` for client/server communication. The `d3-ng2-service` package does, however, expose **D3** data parsing functionality such as `csvParse(...)`.
43
43
44
44
The functionality enhancements provided by the now separate [_d3-selection-multi_](https://github.com/d3/d3-selection-multi) module have been included for added convenience.
45
45
@@ -54,7 +54,7 @@ To include the package into your **Angular** project, simply use the standard np
54
54
npm install d3-ng2-service --save
55
55
```
56
56
57
-
Please note that, the package has a _peer dependency_ on **@angular/core**.
57
+
Please note that the package has a _peer dependency_ on **@angular/core**.
0 commit comments