Skip to content

Commit

Permalink
Typo in README.md
Browse files Browse the repository at this point in the history
I believe you are missing a parenthesis here.
  • Loading branch information
saurfang committed Jul 10, 2014
1 parent 40b96be commit 0fde115
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hexbin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Alternatively, use a transform attribute:

```js
path.attr("transform", function(d) { return "translate(" + d.x + "," + d.y + ")"; })
.attr("d", hexbin.hexagon);
.attr("d", hexbin.hexagon());
```

If *radius* is not specified, the hexbin’s current radius is used. If *radius* is specified, a hexagon with the specified radius is returned, which is useful for area-encoded bivariate hexbins.
Expand Down

0 comments on commit 0fde115

Please sign in to comment.