Skip to content

Commit

Permalink
v0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Kshitij Aranke committed Dec 5, 2015
1 parent 44eb232 commit 201767b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# d3-sankey

D3 4.0 implementation of the Sankey plugin
D3 4.0 implementation of the Sankey plugin to visualize the flow between nodes in a directed acyclic network.

## Installing

If you use NPM, `npm install d3-sankey`. Otherwise, download the [latest release](https://github.com/xaranke/d3-sankey/releases/latest).
If you use NPM, `npm install d3-sankey`. Otherwise, download the [latest release](https://github.com/d3/d3-sankey/releases/latest).

## Demo
Here is Mike Bostock's famous example [recreated with d3-sankey](http://bl.ocks.org/xaranke/9ada4c74a87b57ae7308).
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "d3-sankey",
"version": "0.1.3",
"version": "0.2.0",
"description": "D3 4.0 implementation of the Sankey plugin",
"keywords": [
"d3",
Expand All @@ -9,10 +9,10 @@
"license": "BSD-3-Clause",
"main": "build/d3-sankey.js",
"jsnext:main": "index",
"homepage": "https://github.com/xaranke/d3-sankey",
"homepage": "https://github.com/d3/d3-sankey",
"repository": {
"type": "git",
"url": "https://github.com/xaranke/d3-sankey.git"
"url": "https://github.com/d3/d3-sankey.git"
},
"scripts": {
"pretest": "mkdir -p build && node -e 'process.stdout.write(\"var version = \\\"\" + require(\"./package.json\").version + \"\\\"; export * from \\\"../index\\\"; export {version};\");' > build/bundle.js && rollup -f umd -g d3-arrays:d3_arrays,d3-interpolate:d3_interpolate -u d3-sankey -n d3_sankey -o build/d3-sankey.js -- build/bundle.js",
Expand Down
2 changes: 1 addition & 1 deletion src/sankey.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
number
} from 'd3-interpolate';

// Stolen from Mike Bostock's excellent work at http://bost.ocks.org/mike/sankey/sankey.js
// Stolen from https://github.com/d3/d3-plugins/tree/master/sankey

export default function() {
var sankey = {},
Expand Down

0 comments on commit 201767b

Please sign in to comment.