{"id":28702849,"url":"https://github.com/epiforecasts/rtd3","last_synced_at":"2025-07-19T04:32:56.152Z","repository":{"id":39797496,"uuid":"288980088","full_name":"epiforecasts/RtD3","owner":"epiforecasts","description":"Rt visualisation in D3","archived":false,"fork":false,"pushed_at":"2022-05-25T13:14:10.000Z","size":39144,"stargazers_count":6,"open_issues_count":6,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-07-18T03:18:42.755Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://epiforecasts.io/RtD3/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/epiforecasts.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":"2020-08-20T10:48:06.000Z","updated_at":"2022-11-29T13:28:28.000Z","dependencies_parsed_at":"2022-08-28T06:22:27.007Z","dependency_job_id":null,"html_url":"https://github.com/epiforecasts/RtD3","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/epiforecasts/RtD3","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epiforecasts%2FRtD3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epiforecasts%2FRtD3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epiforecasts%2FRtD3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epiforecasts%2FRtD3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/epiforecasts","download_url":"https://codeload.github.com/epiforecasts/RtD3/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epiforecasts%2FRtD3/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265888897,"owners_count":23844527,"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":"2025-06-14T13:05:33.282Z","updated_at":"2025-07-19T04:32:56.134Z","avatar_url":"https://github.com/epiforecasts.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rt visualization in D3\n\n[![Travis build status](https://travis-ci.com/epiforecasts/RtD3.svg?branch=master)](https://travis-ci.com/hamishgibbs/RtD3)\n[![Codecov test coverage](https://codecov.io/gh/epiforecasts/RtD3/branch/master/graph/badge.svg)](https://codecov.io/gh/hamishgibbs/RtD3?branch=master)\n[![Documentation](https://img.shields.io/badge/Package-documentation-lightgrey.svg?style=flat)](https://epiforecasts.io/RtD3/)\n[![Zenodo](https://zenodo.org/badge/DOI/10.5281/zenodo.4011842.svg)](https://zenodo.org/record/4011842)\n\n\nCreate interactive visualisations of Rt estimates using D3.js ([Gibbs et al. (2020)](https://doi.org/10.5281/zenodo.4011842)). Developed primarily targeting Rt estimates generated by the EpiNow2 package, RtD3 aims to make simple, beautiful visualisations that help researchers explore their results and share them with others.`RtD3` provides an interface for the JavaScript library [rt_vis](https://github.com/hamishgibbs/rt_vis/).\n\n## Installation\n\nInstall from CRAN with: \n\n```r\ninstall.packages(\"RtD3\")\n```\n\nInstall the stable development version of the package from our \n[r-universe](https://epiforecasts.r-universe.dev):\n\n``` r\ninstall.packages(\n  \"RtD3\",\n  repos = c(ropensci = 'https://epiforecasts.r-universe.dev',\n            CRAN = 'https://cloud.r-project.org')\n)\n```\n\nOr from Github:\n\n``` r\nremotes::install_github(\"epiforecasts/RtD3\")\n```\n\n## Quickstart\nSpatial data is passed to RtD3 as an `sf` object. Use the `rnaturalearth` package for quick access to global and national spatial data.\n\nRt estimates are available from [epiforecasts](https://epiforecasts.io/covid/) [covid-rt-estimates](https://github.com/epiforecasts/covid-rt-estimates/) in the format expected by this package. Use the helper function `readInEpiNow2` to generate the summary widget with existing estimates.\n\n``` r\ngeoData = rnaturalearth::ne_countries(returnclass = 'sf')\n\nrtData \u003c- list(\"Cases\" = readInEpiNow2(\n    path = \"https://raw.githubusercontent.com/epiforecasts/covid-rt-estimates/master/national/cases/summary\",\n    region_var = \"country\"))\n\nsummaryWidget(geoData = geoData, rtData = rtData)\n```\n\n## Development\n\nComments and contributions to this package are welcome. To record a problem with the package, please [create an issue](https://github.com/epiforecasts/RtD3/issues/new/) on [Github](https://github.com/epiforecasts/RtD3/). \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fepiforecasts%2Frtd3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fepiforecasts%2Frtd3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fepiforecasts%2Frtd3/lists"}