Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

Commit

Permalink
Drop low-value charts
Browse files Browse the repository at this point in the history
The total users/volume charts provide little value because they can only
ever increase. The charges and withdrawals charts don't tell us much
that the weekly volume chart doesn't, especially after #1383.
  • Loading branch information
chadwhitacre committed Aug 31, 2015
1 parent b3f87fc commit d010e49
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 41 deletions.
7 changes: 0 additions & 7 deletions www/about/charts.json.spt
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,8 @@ charts = website.db.all("""\

SELECT ts_start::date AS date
, ts_start::date AS xTitle
, nparticipants::text AS total_users
, nactive::text AS active_users
, ( SELECT sum(transfer_volume)
FROM paydays
WHERE ts_start <= p.ts_start
)::text AS total_gifts
, transfer_volume::text AS weekly_gifts
, charge_volume::text AS charges
, abs(ach_volume)::text AS withdrawals
FROM paydays p
ORDER BY ts_start DESC

Expand Down
34 changes: 0 additions & 34 deletions www/about/stats.spt
Original file line number Diff line number Diff line change
Expand Up @@ -216,14 +216,6 @@ def out():
<p>On average, people who tip, tip ${{ "%.2f" % average_tip }} each to
{{ other_people }}. </p>

<div class="chart-wrapper">
<a name="users"></a>
<h2>Total Users</h2>
<p class="note">Anyone who's ever created an account on Gratipay</p>
<div class="chart" data-chart="total_users"></div>
<div class="x-axis">weeks</div>
</div>

<div class="chart-wrapper">
<a name="active"></a>
<h2>Active Users</h2>
Expand All @@ -232,14 +224,6 @@ def out():
<div class="x-axis">weeks</div>
</div>

<div class="chart-wrapper">
<a name="cumulative-gifts"></a>
<h2>Total Gifts ($)</h2>
<p class="note">Money transferred within Gratipay (cumulative)</p>
<div class="chart" data-chart="total_gifts"></div>
<div class="x-axis">weeks</div>
</div>

<div class="chart-wrapper">
<a name="gifts"></a>
<h2>Weekly Gifts ($)</h2>
Expand All @@ -248,24 +232,6 @@ def out():
<div class="x-axis">weeks</div>
</div>

<div class="chart-wrapper newline">
<a name="charges"></a>
<h2>Charges ($)</h2>
<p class="note">Money moved into Gratipay</p>
<div class="chart" data-chart="charges"></div>
<div class="x-axis">weeks</div>
</div>

<div class="chart-wrapper">
<a name="withdrawals"></a>
<h2>Withdrawals ($)</h2>

<p class="note">Money withdrawn from Gratipay</p>

<div class="chart" data-chart="withdrawals"></div>
<div class="x-axis">weeks</div>
</div>

<div class="chart-wrapper">
<a name="number-by-amount"></a>
<h2>Number of Tips by Amount</h2>
Expand Down

0 comments on commit d010e49

Please sign in to comment.