So I am basically using the default bubbles map from the Datamaps example website.  var bubble_map = new Datamap({   element: document.getElementById("bubbles"),   geographyConfig: {     popupOnHover: false,     highlightOnHover: false   },...
We are trying to introduce clojurescript in a project which is currently written in angularjs. We are using an external javascript library - datamaps. We are using the :foreign-libs compiler option to get the dependency file in the following manner :...
I've created a world map, using DataMaps.  My aim is to asynchronously show and hide arcs on the map, based on some API data.    What have I already tried  I am calling my API every 5 seconds and push the response data into the map. (This will be...
I'm using D3 and DataMaps with bubbles. I want to add custom actions when someone clicks on a bubble. These actions require passing in attributes of the bubble like the bubble's name.   How do I pass the bubble's name into an on click eve...
I am new to d3.js , i am trying to create a custom map svg .  With some reference i did a custom map which is shown below.    The code snippet for the above output is here.  https://jsfiddle.net/9kbp4h6j/    "use strict"  var svg = d3.select(...
var COLOR = 'blue'; var map = new Datamap({   element: document.getElementById('map'),   responsive: false, });  function changeColor(countryCode) {   map.updateChoropleth({     countryCode: COLOR   }); }  setInterval(function() {...
I am using mark's maps for drawing graphs. I want to alert additional values related to country and not only country name. But only geography object is available inside onClick function. How do I access other data like      'numberOfThings...
It seems that with this code:  var map = null; map = new Datamap({     // Conf 1 ... }); // Draw map on DOM // Remove map from DOM and recreate another map map = null; map = new Datamap({     // Conf 2 ... });   after the second assignment map and th...
I am trying to use Datamaps using the arcs and circles option to create a network weathermap.  The basic issue I'm hitting is that there are inbound and outbound connections in a network and I'd like to be able to visualize them as separate e...
I have a DataMaps map, which is based on D3.js (version 3), and I've added a zoom on scroll to it. The only problem is that I haven't found a way how to reset it.     var reset = document.getElementById('reset-map'); var map = new Dat...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.