D3.js: How to combine 2 datasets in order to create a map and show values on.mouseover?
问题 I would like to combine two datasets on a map in D3.js. For example: 1st dataset: spatial data in .json. 2nd dataset: Data to the areas in .csv --> When you hover on the map a tooltip should show a sentences with some data from the 2nd dataset. I am able to make the map and show a tooltip with data within the .json-file, but how do I insert the 2nd dataset? A new function within my function that creates the map? Do I have to take a completely new way? Should I merge the .json-file with my 2nd