{"id":14068115,"url":"https://github.com/yusuzech/r2d3-graphs","last_synced_at":"2025-07-30T02:33:07.305Z","repository":{"id":153607068,"uuid":"196243086","full_name":"yusuzech/r2d3-graphs","owner":"yusuzech","description":"Make graphs in D3 and create templates for r2d3 package","archived":false,"fork":false,"pushed_at":"2019-07-26T04:16:07.000Z","size":28,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2024-08-13T07:14:16.431Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"R","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/yusuzech.png","metadata":{"files":{"readme":"README.Rmd","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-07-10T16:50:52.000Z","updated_at":"2020-11-05T00:50:18.000Z","dependencies_parsed_at":"2023-05-20T11:15:13.231Z","dependency_job_id":null,"html_url":"https://github.com/yusuzech/r2d3-graphs","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/yusuzech%2Fr2d3-graphs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yusuzech%2Fr2d3-graphs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yusuzech%2Fr2d3-graphs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yusuzech%2Fr2d3-graphs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yusuzech","download_url":"https://codeload.github.com/yusuzech/r2d3-graphs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228075739,"owners_count":17865540,"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-08-13T07:05:57.377Z","updated_at":"2024-12-04T08:31:38.642Z","avatar_url":"https://github.com/yusuzech.png","language":"R","funding_links":[],"categories":["R"],"sub_categories":[],"readme":"---\ntitle: \"r2d3 Snippets\"\noutput: github_document\n---\n\n```{r setup, include=FALSE}\nknitr::opts_chunk$set(echo = TRUE)\nlibrary(r2d3)\n```\n\n\n```{r}\nlibrary(r2d3)\n```\n\n# Examples of r2d3-snippets\n\n**You can view all following examples on this shiny app:**\n\nhttps://yifyan-yusuzech.shinyapps.io/yusuzech-r2d3-app/\n\n\n## D3MatrixPlot\n\nCreate a plot from a matrix with only 0s and 1s. Can be used to create something like Conway's Game of Life. Graphs attributes can be provided in options. All available ones can be seen in `D3MatrixPlot.js`.\n\nAvailable Parameters are:\n\nSVG Margins, Width, Height and Background Color:\n\n\u003e \"margin.top\",\"margin.bottom\", \"margin.left\",\"margin.right\", \"svg.fix\", \"svg.aspectRatio\", \"svg.background\"\n\n\nRectangle Fill and Margin:\n\n\u003e\"rect.fill\", \"rect.margin\"\n\n\n![](inst/demo/d3-imgs/D3MatrixPlot.png)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyusuzech%2Fr2d3-graphs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyusuzech%2Fr2d3-graphs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyusuzech%2Fr2d3-graphs/lists"}