Open prabshr opened 7 years ago
I noticed that the slow transitioning is partly due to the location of the popup message in the upper right corner of the cursor, instead of usual bottom corner, which interferes with the smooth transition of the cursor. So, is their a way to specify the location of the popup message in datamaps?
I am also trying to display the popup in a static location on the side of the map instead of at the hover location. How would I go about doing this?
Hi Mark,
Recently I worked on developing this interactive map using using datamaps with d3.csv and topojson files.
(http://www2.meteo.uni-bonn.de/staff/pshrestha/dataVis/entries/test.html)
Since d3.csv is an asynchronous call, I had to keep my function to extract the popup message based on the analysis of the csv file (which contains couple of loops) and the datamap inside this function.
This seems to be slowing down the transition of the popup message and the selected zones, when the users are selecting the regions.
Can this be improved with a better algorithm?
Cheers, P