Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/badbye/d3calendar
Calendar heatmap based on D3 using R language
https://github.com/badbye/d3calendar
calendar d3js heatmap r
Last synced: about 14 hours ago
JSON representation
Calendar heatmap based on D3 using R language
- Host: GitHub
- URL: https://github.com/badbye/d3calendar
- Owner: badbye
- Created: 2018-09-20T07:32:53.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-09-21T02:25:09.000Z (about 6 years ago)
- Last Synced: 2023-10-20T18:04:30.745Z (about 1 year ago)
- Topics: calendar, d3js, heatmap, r
- Language: R
- Size: 400 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# d3calendar
## Installation
```
devtools::install_github('badbye/d3calendar')
```## Usage
```R
library(d3calendar)
df = data.frame(date=as.Date('2018-01-01') + 0:364, value=rnorm(365))
df$label = sprintf('%s: %.2f%%', df$date, df$value * 100)
d3calendar(df)
```## TODO:
- Add legend- Self-defined colors
- One more plot: https://bl.ocks.org/mbostock/4063318