Created
February 15, 2019 03:48
-
-
Save NaoY-2501/46b3b0bd7a58586cfd409dca24864ac8 to your computer and use it in GitHub Desktop.
DataMaps Sample
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
| <!-- http://datamaps.github.io/ --> | |
| <!-- https://github.com/markmarkoh/datamaps/blob/master/README.md#getting-started --> | |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.3/d3.min.js"></script> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/topojson/1.6.9/topojson.min.js"></script> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/datamaps/0.5.9/datamaps.world.min.js"></script> | |
| </head> | |
| <body> | |
| <div id="container" style="position: relative; width: 1000px; height: 600px;"></div> | |
| <script> | |
| var map = new Datamap({ | |
| element: document.getElementById('container') | |
| }); | |
| </script> | |
| </body> | |
| </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment