I think that tooltipsy dosen't work with the map because it only recognizes the svg area, not the countries' path. That could be an explanation to why the tooltip appears in the top of the svg.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var handleRadius = 6, | |
handleHeight = 8, | |
caretHeight = 5, | |
handleD = 'M' + [ | |
-handleRadius, -handleHeight, | |
handleRadius, -handleHeight, | |
handleRadius, handleHeight - caretHeight, | |
0, handleHeight, | |
-handleRadius, handleHeight - caretHeight, | |
-handleRadius, -handleHeight].join(','), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var handleRadius = 6, | |
handleHeight = 8, | |
caretHeight = 5, | |
handleD = 'M' + [ | |
-handleRadius, -handleHeight, | |
handleRadius, -handleHeight, | |
handleRadius, handleHeight - caretHeight, | |
0, handleHeight, | |
-handleRadius, handleHeight - caretHeight, | |
-handleRadius, -handleHeight].join(','), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var handleRadius = 6, | |
handleHeight = 8, | |
caretHeight = 5, | |
handleD = 'M' + [ | |
-handleRadius, -handleHeight, | |
handleRadius, -handleHeight, | |
handleRadius, handleHeight - caretHeight, | |
0, handleHeight, | |
-handleRadius, handleHeight - caretHeight, | |
-handleRadius, -handleHeight].join(','), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"type":"Topology","objects":{"collection":{"type":"GeometryCollection","geometries":[{"type":"MultiPolygon","properties":{"scalerank":0,"featurecla":"Admin-0 map subunit","labelrank":3,"sovereignt":"Angola","sov_a3":"AGO","adm0_dif":0,"level":2,"type":"Sovereign country","admin":"Angola","adm0_a3":"AGO","geou_dif":0,"geounit":"Angola","gu_a3":"AGO","su_dif":0,"subunit":"Angola","su_a3":"AGO","brk_diff":0,"name":"Angola","name_long":"Angola","brk_a3":"AGO","brk_name":"Angola","brk_group":"","abbrev":"Ang.","postal":"AO","formal_en":"People's Republic of Angola","formal_fr":"","note_adm0":"","note_brk":"","name_sort":"Angola","name_alt":"","mapcolor7":3,"mapcolor8":2,"mapcolor9":6,"mapcolor13":1,"pop_est":12799293,"gdp_md_est":110300,"pop_year":-99,"lastcensus":1970,"gdp_year":-99,"economy":"7. Least developed region","income_grp":"3. Upper middle income","wikipedia":-99,"fips_10":"","iso_a2":"AO","iso_a3":"AGO","iso_n3":"024","un_a3":"024","wb_a2":"AO","wb_a3":"AGO","woe_id":-99,"adm0_a3_is":"AGO","adm0_a3_us |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Scrolling Sections</title> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" integrity="sha512-dTfge/zgoMYpP7QbHy4gWMEGsbsdZeCXz7irItjcC3sPUFtf0kuFbDz/ixG7ArTxmDjLXDmezHubeNikyKGVyQ==" crossorigin="anonymous"> | |
<link rel="stylesheet" href="line.css" /> | |
<style> | |
.container { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
country | region | year | Diarrhoeal diseases | HIV | Pertussis | Measles | Meningitis and encephalitis | Malaria | Respiratory infections | Prematurity | Birth asphixia | Sepsis and infections | Perinatal and nutritional | Congenital anomalies | Injuries | Other | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Afghanistan | South Asia | 2013 | 13 | 0 | 1.2 | 3.9 | 3.3 | 0 | 19.8 | 12.3 | 10.9 | 7 | 9.9 | 3.5 | 6.8 | 5.8 | |
Afghanistan | South Asia | 2012 | 13.9 | 0 | 1.2 | 3.2 | 3.5 | 0 | 20.3 | 12.8 | 11 | 6.9 | 10.1 | 3.5 | 6.9 | 6 | |
Afghanistan | South Asia | 2011 | 14.8 | 0 | 1.2 | 4.4 | 3.7 | 0 | 21 | 13.1 | 11 | 6.9 | 10.4 | 3.4 | 7.1 | 6.2 | |
Afghanistan | South Asia | 2010 | 15.7 | 0 | 1.2 | 3 | 3.9 | 0 | 21.6 | 12.1 | 11.5 | 7.6 | 10.9 | 3.4 | 7.3 | 6.4 | |
Afghanistan | South Asia | 2009 | 16.7 | 0 | 1.3 | 4.1 | 4.1 | 0 | 22.3 | 11.4 | 11.8 | 7.8 | 11.5 | 3.3 | 7.5 | 6.6 | |
Afghanistan | South Asia | 2008 | 16.4 | 0 | 1.3 | 2.1 | 5.7 | 0 | 24.7 | 11.5 | 11.5 | 7.7 | 11.2 | 3.1 | 7.1 | 6.2 | |
Afghanistan | South Asia | 2007 | 17.4 | 0 | 1.3 | 1.6 | 5.9 | 0 | 25.2 | 11.4 | 11.7 | 7.6 | 11.7 | 3.1 | 7.3 | 6.3 | |
Afghanistan | South Asia | 2006 | 18.4 | 0 | 1.3 | 3.3 | 6.1 | 0 | 25.7 | 11 | 11.7 | 7.9 | 12.3 | 3 | 7.5 | 6.4 | |
Afghanistan | South Asia | 2005 | 19.5 | 0 | 1.3 | 2.3 | 6.4 | 0 | 26.1 | 10.9 | 11.7 | 7.9 | 12.8 | 2.9 | 7.7 | 6.5 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>Scrolling Sections</title> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" integrity="sha512-dTfge/zgoMYpP7QbHy4gWMEGsbsdZeCXz7irItjcC3sPUFtf0kuFbDz/ixG7ArTxmDjLXDmezHubeNikyKGVyQ==" crossorigin="anonymous"> | |
<link rel="stylesheet" href="line.css" /> | |
<style> | |
.container { | |
width: 890px; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"arcs":[[[7080,7327],[-5,4],[-10,-10],[5,-6]],[[7070,7315],[-16,-12],[-9,5],[-28,-4],[-12,-6],[-1,-5],[-17,-18],[-11,-16],[6,-10],[6,-18],[-2,-15],[3,-8],[-18,-35],[4,-12],[-2,-18],[-7,-5],[-13,0],[-13,4],[3,-16],[6,-6],[-1,-9],[4,-9],[-12,-14],[-8,0],[-6,-18],[2,-7],[-6,-11],[2,-30],[-8,-17],[-6,-1],[-2,8],[-15,4],[-3,-8],[-14,-12],[6,-9],[-11,-7],[-13,6],[-7,-15],[-8,-7],[-3,-19],[2,-9],[-4,-35],[-32,-17],[-16,2],[-11,-11],[-14,6],[-30,-5],[-46,26]],[[6689,6902],[27,56],[1,10],[-4,21],[-24,7],[-1,9],[1,35],[-7,43],[0,9],[7,14],[1,9],[-10,5],[0,31],[11,8],[-5,13],[7,6],[5,26],[-1,11],[4,19]],[[6701,7234],[8,-10],[13,-1],[6,-7],[1,-9],[5,8],[5,-4],[13,13],[0,24],[9,0],[4,6],[20,11],[9,15],[0,16],[5,14],[-1,9],[9,8],[12,0],[4,16],[4,3],[15,-14],[5,2]],[[6847,7334],[14,2],[7,-12],[6,6],[8,-6]],[[6882,7324],[7,-15],[7,10],[15,9],[2,5],[10,-14],[5,7],[-2,13],[4,8],[21,2],[-3,18],[5,4],[12,26],[9,-2],[7,-9],[-1,-21],[6,3],[2,-8],[-3,-14],[-1,-35],[3,-12],[7,-4],[15,19],[9,1],[3,11],[14,14],[13,-2],[-1,-12],[14,8] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"arcs":[[[7080,7327],[-5,4],[-10,-10],[5,-6]],[[7070,7315],[-16,-12],[-9,5],[-28,-4],[-12,-6],[-1,-5],[-17,-18],[-11,-16],[6,-10],[6,-18],[-2,-15],[3,-8],[-18,-35],[4,-12],[-2,-18],[-7,-5],[-13,0],[-13,4],[3,-16],[6,-6],[-1,-9],[4,-9],[-12,-14],[-8,0],[-6,-18],[2,-7],[-6,-11],[2,-30],[-8,-17],[-6,-1],[-2,8],[-15,4],[-3,-8],[-14,-12],[6,-9],[-11,-7],[-13,6],[-7,-15],[-8,-7],[-3,-19],[2,-9],[-4,-35],[-32,-17],[-16,2],[-11,-11],[-14,6],[-30,-5],[-46,26]],[[6689,6902],[27,56],[1,10],[-4,21],[-24,7],[-1,9],[1,35],[-7,43],[0,9],[7,14],[1,9],[-10,5],[0,31],[11,8],[-5,13],[7,6],[5,26],[-1,11],[4,19]],[[6701,7234],[8,-10],[13,-1],[6,-7],[1,-9],[5,8],[5,-4],[13,13],[0,24],[9,0],[4,6],[20,11],[9,15],[0,16],[5,14],[-1,9],[9,8],[12,0],[4,16],[4,3],[15,-14],[5,2]],[[6847,7334],[14,2],[7,-12],[6,6],[8,-6]],[[6882,7324],[7,-15],[7,10],[15,9],[2,5],[10,-14],[5,7],[-2,13],[4,8],[21,2],[-3,18],[5,4],[12,26],[9,-2],[7,-9],[-1,-21],[6,3],[2,-8],[-3,-14],[-1,-35],[3,-12],[7,-4],[15,19],[9,1],[3,11],[14,14],[13,-2],[-1,-12],[14,8] |
NewerOlder