Skip to content

Weekly chart: align buckets from end to match npm trends #2041

Description

@jycouet

Follow-up of #2013 / #2014.

Weekly chart last value doesn't match the table (npm rolling week). Example: @sveltejs/kit vs svelte — table shows 1.7M but chart shows ~1.4M.

Fix: build weekly buckets from end date backwards (drop partial first bucket) so the last point matches npm trends.

PR incoming soon™

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    frontFrontend, Design

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions