enjalot / wwsd

working with spatial data - workshop materials
212 stars 32 forks source link

d3.js simple interaction #7

Open enjalot opened 8 years ago

enjalot commented 8 years ago

Start here

Try highlighting countries and places when you mouse over them. Don't forget to console.log the data elements to help you figure out what properties you have at your disposal!

Resources: Selection event listeners

enjalot commented 8 years ago

Here is one way to add the suggested interaction:

enjalot commented 8 years ago

An example of the same starting point using TopoJSON