Skip to content

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

@jycouet

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™

Metadata

Metadata

Assignees

No one assigned

    Labels

    frontFrontend, Design

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions