Skip to content

Commit

Permalink
Merge pull request #7 from Hoverbear/patch-1
Browse files Browse the repository at this point in the history
Speeling.
  • Loading branch information
seliopou committed May 21, 2014
2 parents 3ba521a + 4a20e3e commit 7a51a35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ At the heart of this library is the `Selection a` type. It represents a d3
selection joined with one or more values of type `a`. Just like in d3, you can
construct selections using `select` and `selectAll`, and perform operations on
selections using functions like `attr` and `style`. You can also chain those
operations together useing the `chain` function or the infix operator `|.`.
operations together using the `chain` function or the infix operator `|.`.
Both do the same thing—in essence, method chaining.

In addition, elm-d3 allows you to bind data to a `Selection a` and specify what
Expand Down Expand Up @@ -130,7 +130,7 @@ main = render dims.height dims.width (vis dims margin) <~ Mouse.position
It's common practice when using d3 to start building your svg document with an
initial group child element with a transform attribute to setup margins. Pass
the `svg` function a `Dimensions` record and a `Margins` record and will return
a `Selection a` that, when renderd, will do just that.
a `Selection a` that, when rendered, will do just that.

The `boxes` selection demonstrates how to do data joins in elm-d3. You setup
your initial selection using `selectAll`, and then method chain a call to
Expand Down

0 comments on commit 7a51a35

Please sign in to comment.