Skip to content

Commit

Permalink
document d3-selection support
Browse files Browse the repository at this point in the history
  • Loading branch information
phbalance committed Jul 18, 2021
1 parent 43e10f4 commit 22418b9
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,20 @@

Add tooltips to your [D3](https://d3js.org/) charts. Implemented using [TypeScript](https://www.typescriptlang.org/).

Version 0.1.2 is the last version that supports D3 versions 1 through 5 (i.e. version that use d3-selection@1). Versions 1.0.1+ supports D3 versions 6+.

## Getting Started


### Installation

```sh
npm install --save @phbalance/d3-tooltip
```

Prior to version 1.0 you needed to install the peer `d3-selection` yourself although NPM 7 does this for you now.
```sh
npm install --save @phbalance/d3-tooltip
npm install --save color # peer dependency of a library
npm install --save d3-selection # peer dependency of a library
```

### Use
Expand Down

0 comments on commit 22418b9

Please sign in to comment.