{"id":42305215,"url":"https://github.com/benweizhu/react-heatmap.js","last_synced_at":"2026-01-27T11:07:08.279Z","repository":{"id":57333383,"uuid":"88569427","full_name":"benweizhu/react-heatmap.js","owner":"benweizhu","description":"A React Component based on heatmap.js.","archived":false,"fork":false,"pushed_at":"2017-04-18T08:06:58.000Z","size":778,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-09T14:29:45.286Z","etag":null,"topics":["heatmapjs","library","react"],"latest_commit_sha":null,"homepage":"https://benweizhu.github.io/react-heatmap.js/","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/benweizhu.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":"2017-04-18T01:53:38.000Z","updated_at":"2017-06-19T06:01:06.000Z","dependencies_parsed_at":"2022-08-24T20:41:57.075Z","dependency_job_id":null,"html_url":"https://github.com/benweizhu/react-heatmap.js","commit_stats":null,"previous_names":["benweizhu/react-heatmap"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/benweizhu/react-heatmap.js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benweizhu%2Freact-heatmap.js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benweizhu%2Freact-heatmap.js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benweizhu%2Freact-heatmap.js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benweizhu%2Freact-heatmap.js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/benweizhu","download_url":"https://codeload.github.com/benweizhu/react-heatmap.js/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benweizhu%2Freact-heatmap.js/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28812367,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T07:41:26.337Z","status":"ssl_error","status_checked_at":"2026-01-27T07:41:08.776Z","response_time":168,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["heatmapjs","library","react"],"created_at":"2026-01-27T11:07:04.622Z","updated_at":"2026-01-27T11:07:08.273Z","avatar_url":"https://github.com/benweizhu.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-heatmap.js\n\nA React Component based on [heatmap.js][b7fa289f].\n\n  [b7fa289f]: https://www.patrick-wied.at/static/heatmapjs/ \"heatmap.js\"\n\n```\nyarn add react-heatmap.js\n```\n\n```javascript\nimport React from 'react';\nimport ReactDom from 'react-dom';\nimport ReactHeatmap from 'react-heatmap.js';\n\nclass ReactHeatmapExample extends React.PureComponent {\n  render() {\n    const config = {\n      radius: 10,\n      maxOpacity: 0.5,\n      minOpacity: 0,\n      blur: 0.75\n    };\n    const points = [];\n    const width = 840;\n    const height = 400;\n    let max = 0;\n    let len = 300;\n\n    while (len--) {\n      const val = Math.floor(Math.random() * 100);\n      // now also with custom radius\n      const radius = Math.floor(Math.random() * 70);\n\n      max = Math.max(max, val);\n      const point = {\n        x: Math.floor(Math.random() * width),\n        y: Math.floor(Math.random() * height),\n        value: val,\n        // radius configuration on point basis\n        radius\n      };\n      points.push(point);\n    }\n\n    return (\n      \u003cdiv style={{ width: '840px', height: '400px' }}\u003e\n        \u003cReactHeatmap configObject={config} max={max} data={points} /\u003e\n      \u003c/div \u003e\n    );\n  }\n}\n\nReactDom.render(\u003cReactHeatmapExample /\u003e, document.querySelector('#app'));\n\n```\nFor more configuration, take [docs.html][747485cf] as reference.\n\n  [747485cf]: https://www.patrick-wied.at/static/heatmapjs/docs.html \"docs.html\"\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenweizhu%2Freact-heatmap.js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenweizhu%2Freact-heatmap.js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenweizhu%2Freact-heatmap.js/lists"}