D3
OG
Old school D3 from simpler times
All examples
By author
By category
About
aaizemberg
Full window
Github gist
Acceso a Internet (2016)
<html> <head> <script src="https://www.gstatic.com/charts/loader.js"></script> <script> google.charts.load('current', {'packages':['geochart']}); google.charts.setOnLoadCallback(drawRegionsMap); function drawRegionsMap() { var data = google.visualization.arrayToDataTable([ ['Country', 'Penetration(% of Pop)'], ['United States of America', 88.5], ['U.K.', 92.6], ['Vietnam', 52], ['Hong Kong', 74.1], ["Côte d'Ivoire", 22], ['Serbia', 54], ['Singapore', 82.5], ['DR Congo', 3.9], ['State of Palestine', 62.7], ['Tanzania', 5.3], ['TFYR Macedonia', 69.2], ['Bahrain', 91.5], ['Mauritius', 42.5], ['Macao', 72.6], ['Congo', 7.5], ['Malta', 79.6], ['Bahamas', 84.8], ['Barbados', 80.3], ['Cabo Verde', 42.5], ['Maldives', 53.6], ['French Polynesia', 63.9], ['Guam', 72.5], ['Saint Lucia', 58.7], ['Aruba', 87.8], ['Andorra', 96.5], ['Guinea-Bissau', 3.5], ['St. Vincent & Grenadines', 60.2], ['Antigua and Barbuda', 65], ['Bermuda', 97.4], ['Comoros', 7.3], ['United States Virgin Islands', 54], ['Samoa', 29], ['Seychelles', 57.9], ['Tonga', 46.6], ['Sao Tome and Principe', 25.6], ['Dominica', 66.1], ['Faeroe Islands', 98.5], ['Cayman Islands', 74.1], ['Grenada', 38.8], ['Saint Kitts and Nevis', 66.2], ['Liechtenstein', 95.8], ['Monaco', 93], ['Micronesia', 31.2], ['Kiribati', 12.9], ['Timor-Leste', 1.2], ['Marshall Islands', 20.2], ['Afghanistan', 6.8], ['Angola', 23], ['Albania', 62.8], ['United Arab Emirates', 91.9], ['Argentina', 69.2], ['Armenia', 49.9], ['Australia', 85.1], ['Austria', 81.1], ['Azerbaijan', 61.1], ['Burundi', 1.5], ['Belgium', 88.5], ['Benin', 5.6], ['Burkina Faso', 10.2], ['Bangladesh', 13.2], ['Bulgaria', 58.5], ['Bosnia and Herzegovina', 61.6], ['Belarus', 61], ['Belize', 45], ['Bolivia', 41.1], ['Brazil', 66.4], ['Brunei', 72.3], ['Bhutan', 36.9], ['Botswana', 21.4], ['Central African Republic', 4.5], ['Canada', 88.5], ['Switzerland', 87.2], ['Chile', 77.8], ['China', 52.2], ['Cameroon', 18], ['Colombia', 56.9], ['Costa Rica', 56.4], ['Cuba', 32.4], ['Cyprus', 71.8], ['Czech Republic', 88.4], ['Germany', 88], ['Djibouti', 11.7], ['Denmark', 96.3], ['Dominican Republic', 51.8], ['Algeria', 19.7], ['Ecuador', 43.1], ['Egypt', 33], ['Eritrea', 1.1], ['Spain', 82.2], ['Estonia', 91.4], ['Ethiopia', 4.2], ['Finland', 92.5], ['Fiji', 46.8], ['France', 86.4], ['Gabon', 10.3], ['Georgia', 52.9], ['Ghana', 28.4], ['Guinea', 1.8], ['Gambia', 16.9], ['Equatorial Guinea', 20.9], ['Greece', 64.8], ['Greenland', 67.4], ['Guatemala', 26.5], ['Guyana', 39.6], ['Honduras', 21.5], ['Croatia', 74.2], ['Haiti', 12.1], ['Hungary', 80.2], ['Indonesia', 20.4], ['India', 34.8], ['Ireland', 81], ['Iran', 48.9], ['Iraq', 13], ['Iceland', 100], ['Israel', 72.5], ['Italy', 65.6], ['Jamaica', 43.4], ['Jordan', 45.7], ['Japan', 91.1], ['Kazakhstan', 55.8], ['Kenya', 45], ['Kyrgyzstan', 34.4], ['Cambodia', 11.1], ['South Korea', 85.7], ['Kuwait', 79.9], ['Laos', 15.7], ['Lebanon', 75.9], ['Liberia', 8.6], ['Libya', 21.1], ['Sri Lanka', 29.3], ['Lesotho', 20.6], ['Lithuania', 77.2], ['Luxembourg', 95.2], ['Latvia', 76.3], ['Morocco', 57.6], ['Moldova', 47.9], ['Madagascar', 4.3], ['Mexico', 45.1], ['Mali', 12.2], ['Myanmar', 2.5], ['Montenegro', 62], ['Mongolia', 35.6], ['Mozambique', 6.4], ['Mauritania', 17.1], ['Malawi', 6.5], ['Malaysia', 68.6], ['Namibia', 15.6], ['New Caledonia', 70], ['Niger', 2.1], ['Nigeria', 46.1], ['Nicaragua', 19.4], ['Netherlands', 93.7], ['Norway', 98], ['Nepal', 17.2], ['New Zealand', 89.4], ['Oman', 71.1], ['Pakistan', 17.8], ['Panama', 45.2], ['Peru', 41], ['Philippines', 43.5], ['Papua New Guinea', 11.7], ['Poland', 72.4], ['Puerto Rico', 82.8], ['Portugal', 67.3], ['Paraguay', 46.8], ['Qatar', 92], ['Romania', 58], ['Russia', 71.3], ['Rwanda', 12.4], ['Saudi Arabia', 64.7], ['Sudan', 26.4], ['Senegal', 23.4], ['Solomon Islands', 9.8], ['Sierra Leone', 2.4], ['El Salvador', 38.3], ['Somalia', 1.7], ['South Sudan', 17.1], ['Suriname', 42.3], ['Slovakia', 82.5], ['Slovenia', 72], ['Sweden', 93.1], ['Swaziland', 27.8], ['Syria', 29.6], ['Chad', 2.7], ['Togo', 7.3], ['Thailand', 42.7], ['Tajikistan', 18.7], ['Turkmenistan', 14.5], ['Trinidad and Tobago', 69.1], ['Tunisia', 48.1], ['Turkey', 58], ['Uganda', 19], ['Ukraine', 44.1], ['Uruguay', 65], ['Uzbekistan', 51], ['Venezuela', 57.9], ['Vanuatu', 30.6], ['Yemen', 24.7], ['South Africa', 52], ['Zambia', 19], ['Zimbabwe', 21] ]); var options = { colors: ['#ffffff','#000000'] }; var chart = new google.visualization.GeoChart(document.getElementById('regions_div')); chart.draw(data, options); } </script> </head> <body> <div id="regions_div" style="width: 900px; height: 500px;"></div> </body> </html>
https://www.gstatic.com/charts/loader.js