Skip to content

Instantly share code, notes, and snippets.

@vnegi10
Created October 3, 2021 15:49
Show Gist options
  • Save vnegi10/680a0b52f5f3222aad1a078b7c925f68 to your computer and use it in GitHub Desktop.
Save vnegi10/680a0b52f5f3222aad1a078b7c925f68 to your computer and use it in GitHub Desktop.
figure2 = df_pedometer_filter |>
@vlplot(:bar,
x = {:step_count, "axis" = {"title" = "Number of steps", "labelFontSize" = 12, "titleFontSize" = 14}, "bin" = {"maxbins" = bins1}},
y = {"count()", "axis" = {"title" = "Number of counts", "labelFontSize" = 12, "titleFontSize" = 14 }},
width = 850, height = 500,
"title" = {"text" = "Step count distribution from $(Date.(start_date)) to $(Date.(end_date))", "fontSize" = 16},
color = "year:n")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment