{"id":13735134,"url":"https://github.com/rstudio/dygraphs","last_synced_at":"2025-05-15T12:06:26.786Z","repository":{"id":19735006,"uuid":"22991378","full_name":"rstudio/dygraphs","owner":"rstudio","description":"R interface to dygraphs","archived":false,"fork":false,"pushed_at":"2024-03-15T04:26:22.000Z","size":2668,"stargazers_count":367,"open_issues_count":122,"forks_count":192,"subscribers_count":42,"default_branch":"master","last_synced_at":"2025-04-22T02:06:55.455Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://rstudio.github.io/dygraphs","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/rstudio.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-08-15T14:03:15.000Z","updated_at":"2025-04-16T02:13:30.000Z","dependencies_parsed_at":"2024-05-02T08:08:20.872Z","dependency_job_id":null,"html_url":"https://github.com/rstudio/dygraphs","commit_stats":{"total_commits":499,"total_committers":25,"mean_commits":19.96,"dds":0.2865731462925851,"last_synced_commit":"b0963956dbbab738a1b19d75c64399557207cb66"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rstudio%2Fdygraphs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rstudio%2Fdygraphs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rstudio%2Fdygraphs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rstudio%2Fdygraphs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rstudio","download_url":"https://codeload.github.com/rstudio/dygraphs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254337613,"owners_count":22054253,"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-03T03:01:03.346Z","updated_at":"2025-05-15T12:06:21.765Z","avatar_url":"https://github.com/rstudio.png","language":"JavaScript","funding_links":[],"categories":["Visualization","HTML Widgets","Tools","Interactive plots"],"sub_categories":["Time Series","Integrations","Miscellaneous"],"readme":"# dygraphs for R\n\n\u003c!-- badges: start --\u003e\n\n[![CRAN status](https://www.r-pkg.org/badges/version/dygraphs)](https://cran.r-project.org/package=dygraphs)\n[![R-CMD-check](https://github.com/rstudio/dygraphs/workflows/R-CMD-check/badge.svg)](https://github.com/rstudio/dygraphs/actions)\n[![codecov](https://codecov.io/gh/rstudio/dygraphs/branch/master/graph/badge.svg?token=1z2BOSMfZe)](https://codecov.io/gh/rstudio/dygraphs)\n\n\u003c!-- badges: end --\u003e\n\nThe dygraphs package is an R interface to the [dygraphs](https://dygraphs.com) JavaScript charting library. It provides rich facilites for charting time-series data in R, including:\n\n- Automatically plots [xts](http://cran.rstudio.com/web/packages/xts/index.html) time series objects (or any object convertible to xts).\n- Highly configurable axis and series display (including optional second Y-axis).\n- Rich interactive features including [zoom/pan](https://rstudio.github.io/dygraphs/gallery-range-selector.html) and series/point [highlighting](https://rstudio.github.io/dygraphs/gallery-series-highlighting.html).\n- Display [upper/lower bars](https://rstudio.github.io/dygraphs/gallery-upper-lower-bars.html) (e.g. prediction intervals) around series.\n- Various graph overlays including [shaded regions](https://rstudio.github.io/dygraphs/gallery-shaded-regions.html), [event lines](https://rstudio.github.io/dygraphs/gallery-event-lines.html), and point [annotations](https://rstudio.github.io/dygraphs/gallery-annotations.html).\n- Use at the R console just like conventional R plots (via RStudio Viewer).\n- Seamless embedding within [R Markdown](https://rstudio.github.io/dygraphs/r-markdown.html) documents and [Shiny](https://rstudio.github.io/dygraphs/shiny.html) web applications.\n\n## Installation\n\nThe dygraphs package depends on the development version of the [htmlwidgets](https://github.com/ramnathv/htmlwidgets) package so you need to install both packages. You can do this using the **devtools** package as follows:\n\n```S\ndevtools::install_github(c(\"ramnathv/htmlwidgets\", \"rstudio/dygraphs\"))\n```\n\n## Usage\n\nIf you have an xts-compatible time-series object creating an interactive plot of it is as simple as this:\n\n```S\ndygraph(nhtemp, main = \"New Haven Temperatures\")\n```\n\nYou can also further customize axes and series display as well as add interacitve features like a range selector:\n\n```S\ndygraph(nhtemp, main = \"New Haven Temperatures\") %\u003e%\n  dyAxis(\"y\", label = \"Temp (F)\", valueRange = c(40, 60)) %\u003e%\n  dyOptions(fillGraph = TRUE, drawGrid = FALSE) %\u003e%\n  dyRangeSelector()\n```\n\nSee the [online documentation](http://rstudio.github.io/dygraphs) for the dygraphs package for additional details and examples.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frstudio%2Fdygraphs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frstudio%2Fdygraphs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frstudio%2Fdygraphs/lists"}