diff --git a/index.html b/index.html index cca568a..b8e0494 100644 --- a/index.html +++ b/index.html @@ -294,8 +294,9 @@
This example loads in an external HexJSON file, loads in some data, and then colours the hexes depending on the data. To work out the colours we'll make a little helper function ColourScale
.
This example also styles the lines
defined in the HexJSON by calling this.updateLines(fn)
with a function, fn
, that takes the line ID as a parameter. This could let us style each line differently but, in this example, we will just apply {'stroke':'black','stroke-width':4,'stroke-linecap':'round'}
to all the lines.