Can we add images in json data file and call it on page using D3.js
问题 Below is my code for displaying a world map on page. I'm trying to find the way to store image in json data file - and calling it in tooltip function for each country. The tooltip function is currently mapped to the json file and displaying the data I've entered. Thanks <!DOCTYPE html> <meta charset="utf-8"> <style> .country:hover { stroke: #B3B5B3; stroke-width: 3px; } span1 { font-size:18px; font-family:Arial, Helvetica, sans-serif; } span2 { font-size: 14px; font-family:Arial, Helvetica,