More informative download graphs #5417
allan2
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
One of the most common tasks for a visitor who is looking up a package is to see its popularity over time.
The current versioned daily graphs are a bit "noisy" for this.
Compare these graphs for two packages growing in popularity:

Left: crates.io, daily data points.
Right: npmtrends.coms, weekly data points.
The right graph makes it easier to discern popularity over time, which is arguably the most common user task.
The left graph has versions and periodic "weekend dips" which are visually distracting from this task. While examining the adoption of versions over time is a useful feature, it may not be the best one to display as the default view.
Some suggestions for the download graph:
I think weekly data points and cumulative-version graph are reasonable defaults, similar to how npmtrends does it.
#4336 related
Edit: * Referring to the crate page. It is possible to view a crate and its graph by version, e.g. https://crates.io/crates/rand/0.8.5
Beta Was this translation helpful? Give feedback.
All reactions