Skip to content

Commit

Permalink
cleaning up readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjaki2 committed Jan 27, 2016
1 parent 1902501 commit 97aef55
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# D3 World Maps Template

This library was build to promote data sharing on a global scale.
This library was built to promote data sharing on a global scale.

# How it works

In your html, you must create a div with an id of 'world-map' or create a custom class/id to select. Specify the dimensions here with height & width attributes.
In your html, you must create an element with an id of 'world-map' or create a custom class or id to select. Specify the dimensions here with height & width attributes.

```html
<body>
Expand Down Expand Up @@ -39,9 +39,9 @@ var map = new d3WorldMaps.WorldMap(
el: '.world-map', // where the Map Lies
projection: 'Mercator',
locationPins: [
{coords: [55, 55], opacity:.2},
{coords: [55, 55], opacity: 0.2},
{coords: [13, 13], radius: 4},
{coords: [12, -45], color: 'yellow', radius: 4, opacity:.7}
{coords: [12, -45], color: 'yellow', radius: 4, opacity: 0.7}
],
oceanFill: 'black'
);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "d3-world-maps",
"author": "Benjamin King <[email protected]>",
"version": "0.0.2",
"version": "0.0.3",
"license": "ISC",
"description": "Barebone world map template build for displaying data",
"main": "./lib/index.js",
Expand Down

0 comments on commit 97aef55

Please sign in to comment.