Skip to content

Instantly share code, notes, and snippets.

Created September 16, 2020 20:38
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save timelyportfolio/62f65168872576848be8a56849722db3 to your computer and use it in GitHub Desktop.
d3 calendar in R from observable/robservable
# remotes::install_github("juba/robservable")
# see entire notebook
# only see the chart
include = "chart"
# supply R data to chart
dates <- seq.Date(from = as.Date("2013-01-01"), to = as.Date("2013-12-31"), by = "days")
df <- data.frame(
date = dates,
value = round(runif(length(dates), 0, 1000))
include = "chart",
input = list(data = df)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment