{"id":20493846,"url":"https://github.com/qeeqbox/worldmap","last_synced_at":"2025-04-13T17:21:18.356Z","repository":{"id":48344069,"uuid":"391189313","full_name":"qeeqbox/worldmap","owner":"qeeqbox","description":"An interactive world-map that has been used in live Cyber Threat interfaces","archived":false,"fork":false,"pushed_at":"2021-07-31T23:10:15.000Z","size":35,"stargazers_count":12,"open_issues_count":1,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-27T08:11:19.663Z","etag":null,"topics":["cities","countries","d3","interactive","worldmap"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/qeeqbox.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-07-30T21:15:18.000Z","updated_at":"2024-11-02T20:05:58.000Z","dependencies_parsed_at":"2022-09-17T16:01:18.440Z","dependency_job_id":null,"html_url":"https://github.com/qeeqbox/worldmap","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qeeqbox%2Fworldmap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qeeqbox%2Fworldmap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qeeqbox%2Fworldmap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qeeqbox%2Fworldmap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qeeqbox","download_url":"https://codeload.github.com/qeeqbox/worldmap/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248750831,"owners_count":21155791,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cities","countries","d3","interactive","worldmap"],"created_at":"2024-11-15T17:37:02.972Z","updated_at":"2025-04-13T17:21:18.334Z","avatar_url":"https://github.com/qeeqbox.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"An interactive world-map that has been used in live Cyber Threat interfaces. This version is very responsive (drag, click, zoom, rotate, and scale). Also, you can move to any country by the ISO ALPHA 3 code.\n\nIf you are using the old qb-worldmap, please switch to the new version!\n\n## Live\n[https://qeeqbox.github.io/worldmap/](https://qeeqbox.github.io/worldmap/)\n\n## Invoke and Run\n```html\n\u003cscript src=\"scripts/qbworldmap.js\"\u003e\u003c/script\u003e\n\u003cdiv id=\"qb-worldmap-svg\"\u003e\u003c/div\u003e\n```\n\n### qb_worldmap()\n```js\n// svg                     element ID\n// world_type              map type (still working on transitioning it)\n// selected_countries,     list of countries to highlight\n// height                  map height\n// width                   map width\n// css_style               custom style\n// orginal_country_color   countries colors\n// clicked_country_color   current country or a chosen one\n// selected_country_color  countries that are highlighted, verbose\n// location                world-atlas JSON location (CDN)\n// verbose                 output verbose msgs\n\nqb_worldmap(\"#qb-worldmap-svg\", null, [\"156\", \"840\"], window.innerHeight, window.innerWidth, null, \"#cccccc\", \"#FFFF99\", \"#ff726f\", null, true)\n```\n\n### qb_worldmap.go_to_country()\n```js\n// country_code_3          ISO ALPHA 3 code\n\nqb_worldmap.go_to_country(\"840\")\n```\n\n### qb_worldmap.get_current_subject()\n```js\nget_current_subject()      This function will retrieve the current selected country\n```\n\n## Resources\nd3js.org\n\n## Other Licenses\nBy using this framework, you are accepting the license terms of each package listed below:\nD3, fontawesome, jquery, javascript, topojson, world-atlas\n\n## Other Projects\n[![](https://github.com/qeeqbox/.github/blob/main/data/social-analyzer.png)](https://github.com/qeeqbox/social-analyzer) [![](https://github.com/qeeqbox/.github/blob/main/data/analyzer.png)](https://github.com/qeeqbox/analyzer) [![](https://github.com/qeeqbox/.github/blob/main/data/chameleon.png)](https://github.com/qeeqbox/chameleon) [![](https://github.com/qeeqbox/.github/blob/main/data/honeypots.png)](https://github.com/qeeqbox/honeypots) [![](https://github.com/qeeqbox/.github/blob/main/data/url-sandbox.png)](https://github.com/qeeqbox/url-sandbox) [![](https://github.com/qeeqbox/.github/blob/main/data/woodpecker.png)](https://github.com/qeeqbox/woodpecker) [![](https://github.com/qeeqbox/.github/blob/main/data/docker-images.png)](https://github.com/qeeqbox/docker-images) [![](https://github.com/qeeqbox/.github/blob/main/data/seahorse.png)](https://github.com/qeeqbox/seahorse) [![](https://github.com/qeeqbox/.github/blob/main/data/rhino.png)](https://github.com/qeeqbox/rhino)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqeeqbox%2Fworldmap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqeeqbox%2Fworldmap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqeeqbox%2Fworldmap/lists"}