topojson group by continent

1,035 views
Skip to first unread message

Norman Khine

unread,
Apr 15, 2013, 6:47:55 AM4/15/13
to d3...@googlegroups.com
hello,
i am trying to figure out how to group the countries per continent directly from the world.json file so that i can give them a class attribute. but looking at the /topo/world.json file i have https://gist.github.com/nkhine/3150901/raw/4116c70e8517f325444dd0cd1b216e27ba11981a/topo%2Fworld.json this property is not available.

is there a way to create this file to include the continent_id?

any advise much appreciated.

Enrico Spinielli

unread,
Apr 16, 2013, 9:13:24 AM4/16/13
to d3...@googlegroups.com
Natural Earth v2.0 seems to have info about continents, so follow the steps described in 'Let's Make a Map'
and you should have a good start at it...

My 2 cents
Bye
enrico


--
You received this message because you are subscribed to the Google Groups "d3-js" group.
To unsubscribe from this group and stop receiving emails from it, send an email to d3-js+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Iweczek

unread,
Oct 21, 2013, 7:58:54 PM10/21/13
to d3...@googlegroups.com
Here is an example http://techslides.com/demos/d3/continent-geo-game.html but Natural Earth is not great for this.
Reply all
Reply to author
Forward
0 new messages