Skip to content

Commit

Permalink
Make it clear what percentage of requests we're talking about
Browse files Browse the repository at this point in the history
Refs #13
  • Loading branch information
thewilkybarkid committed Jun 28, 2024
1 parent d790bb7 commit defe36a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/requests.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ const requestsByField = requestsSelected
<div class="card">
<h2>${chosenDomain ? `${openAlexDomains[chosenDomain]} requests` : 'Requests'}</h2>
<span class="big">${requestsSelected.length.toLocaleString("en-US")}</span>
${chosenDomain ? html`
<div>${d3.format(".1%")(requestsSelected.length / requests.length)} of all requests</div>
` : ''}
</div>
</div>

Expand Down

0 comments on commit defe36a

Please sign in to comment.