Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Traffic plot improvement #35

Open
mateusccoelho opened this issue Aug 27, 2023 · 0 comments
Open

Traffic plot improvement #35

mateusccoelho opened this issue Aug 27, 2023 · 0 comments

Comments

@mateusccoelho
Copy link

mateusccoelho commented Aug 27, 2023

  1. Initialize the traffic counts with yesterday is not right because it's misleading. If one doesn't know how the package works, he/she will think that the first day had no visitors.
  2. If the computer running the Streamlit server is in a negative timezone, altair/javascript will parse dates wrong and "shift" dates by -1 day. This Stack Overflow thread explains the issue.

See plot below to visualize the two problems:

image

Notice the first day is 0 and that the counting started in 27th august, but there are no pageviews in this day.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant