{"id":20690928,"url":"https://github.com/zcreativelabs/react-simple-maps-canvas","last_synced_at":"2025-04-22T16:58:56.601Z","repository":{"id":47923452,"uuid":"231837251","full_name":"zcreativelabs/react-simple-maps-canvas","owner":"zcreativelabs","description":"Declarative canvas mapcharts for react.","archived":false,"fork":false,"pushed_at":"2022-07-20T19:34:00.000Z","size":106,"stargazers_count":7,"open_issues_count":4,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-29T17:01:23.615Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zcreativelabs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-01-04T22:26:57.000Z","updated_at":"2024-02-28T00:29:57.000Z","dependencies_parsed_at":"2022-08-12T14:20:26.412Z","dependency_job_id":null,"html_url":"https://github.com/zcreativelabs/react-simple-maps-canvas","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/zcreativelabs%2Freact-simple-maps-canvas","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zcreativelabs%2Freact-simple-maps-canvas/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zcreativelabs%2Freact-simple-maps-canvas/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zcreativelabs%2Freact-simple-maps-canvas/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zcreativelabs","download_url":"https://codeload.github.com/zcreativelabs/react-simple-maps-canvas/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250284828,"owners_count":21405295,"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":[],"created_at":"2024-11-16T23:14:49.312Z","updated_at":"2025-04-22T16:58:56.557Z","avatar_url":"https://github.com/zcreativelabs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# React Mapchart\n\n!WIP: The aim of this react component library is to render mapcharts to canvas using a simple declarative api similar to [react-simple-maps](https://www.react-simple-maps.io/).\n\n```jsx\nimport { CanvasMap, Geographies, Geography } from \"react-mapchart\"\n\nconst MyMap = () =\u003e {\n  return (\n    \u003cCanvasMap width={800} height={600}\u003e\n      \u003cGeographies geography=\"https://cdn.jsdelivr.net/npm/world-atlas@2/countries-110m.json\"\u003e\n        {({geographies, highlighted}) =\u003e\n          geographies.map(geo =\u003e\n            \u003cGeography\n              key={geo.rsmKey}\n              geography={geo}\n              fill={highlighted === geo.rsmKey ? \"#F53\" : \"#EEE\"}\n            /\u003e\n          )\n        }\n      \u003c/Geographies\u003e\n    \u003c/CanvasMap\u003e\n  )\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzcreativelabs%2Freact-simple-maps-canvas","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzcreativelabs%2Freact-simple-maps-canvas","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzcreativelabs%2Freact-simple-maps-canvas/lists"}