0
votes

I am new to d3 and geojson. I read the articles for d3. I understood almost all. Now I new to create a map of canada with geojson and d3.

I am reading the article

http://bost.ocks.org/mike/map/

I installed GDAL. Then I tried installing Node.js as mentioned in the article.

Automatic cmd got opened.

npm install -g topojson ( I gave this command) npm should be run outside of the node repl, in your normal shell.

(Press Control-D to exit.)

install -g topojson ( I gave this command) ...

I dont know, how to proceed further. From the articles also, I am unable to get what files should be downloaded. I even dont know, what things I should use. I just want to create a map of canada with d3 and geojson. Thats all I know. I am totally new. Please help me out. I know, this is very silly thing.

Is there any change I need to make with environmental variable ??

1

1 Answers

3
votes

You don't need to install anything for a basic map. Have a look at this example. All you need to do is load your GeoJSON for Canda instead of the one for the UK. If you don't have a suitable GeoJSON file, just google it.