{"id":18589801,"url":"https://github.com/davidgtonge/react-spiral","last_synced_at":"2026-05-07T17:41:01.792Z","repository":{"id":41796669,"uuid":"93450302","full_name":"davidgtonge/react-spiral","owner":"davidgtonge","description":"Spiral charts in React","archived":false,"fork":false,"pushed_at":"2022-12-30T07:53:02.000Z","size":3520,"stargazers_count":1,"open_issues_count":12,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-14T10:39:54.968Z","etag":null,"topics":["canvas","d3","react","react-motion","spiral"],"latest_commit_sha":null,"homepage":"https://weather-spiral.davetonge.co.uk/","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/davidgtonge.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-06-05T21:50:47.000Z","updated_at":"2024-02-08T12:18:32.000Z","dependencies_parsed_at":"2023-01-31T11:00:43.374Z","dependency_job_id":null,"html_url":"https://github.com/davidgtonge/react-spiral","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/davidgtonge/react-spiral","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidgtonge%2Freact-spiral","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidgtonge%2Freact-spiral/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidgtonge%2Freact-spiral/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidgtonge%2Freact-spiral/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davidgtonge","download_url":"https://codeload.github.com/davidgtonge/react-spiral/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidgtonge%2Freact-spiral/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32749581,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-07T02:14:30.463Z","status":"ssl_error","status_checked_at":"2026-05-07T02:14:29.405Z","response_time":62,"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":["canvas","d3","react","react-motion","spiral"],"created_at":"2024-11-07T00:53:19.376Z","updated_at":"2026-05-07T17:41:01.773Z","avatar_url":"https://github.com/davidgtonge.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"### React Spiral\n\nThis is a React component for displaying spiral charts.\nIt uses D3.js for some of the calculations, but all rendering is handled via React.\n\nThere is a demo here: https://spiral.tonge.org/\n\nThere are two rendering modes: SVG and Canvas.\nBecause many spiral charts will have large amounts of data points - the canvas\nimplementation is the default and provides the best performance.\n\nThe component has animation by default, however it's performance may not be\nadequate when dealing with large datasets.\n\nThe API is fairly simple:\n\n```javascript\n\n\u003cSpiral\n  data={[[x,y,z]]}\n  margin={0} // Margin in pixels\n  rotations={52}\n  color={(val) =\u003e \"red\"}\n  width={600}\n  height={600}\n  offset={100}\n  segment={[15,2]} // Size of each data point in pixels\n  opacity={(val) =\u003e 0.5},\n  extent={[0,360]} // The min and max x values\n/\u003e\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidgtonge%2Freact-spiral","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidgtonge%2Freact-spiral","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidgtonge%2Freact-spiral/lists"}