website: snapshot

This commit is contained in:
nym21
2026-02-04 17:26:35 +01:00
parent 0d5d7da70f
commit 0437ce1bb4
33 changed files with 5752 additions and 995 deletions

View File

@@ -123,13 +123,17 @@ export function buildCohortData() {
// Addresses above amount
const addressesAboveAmount = entries(addressCohorts.geAmount).map(
([key, tree]) => {
([key, cohort]) => {
const names = GE_AMOUNT_NAMES[key];
return {
name: names.short,
title: `Addresses ${names.long}`,
color: colors.amount[key],
tree,
tree: cohort,
addrCount: {
count: cohort.addrCount,
_30dChange: cohort.addrCount30dChange,
},
};
},
);
@@ -147,13 +151,17 @@ export function buildCohortData() {
// Addresses under amount
const addressesUnderAmount = entries(addressCohorts.ltAmount).map(
([key, tree]) => {
([key, cohort]) => {
const names = LT_AMOUNT_NAMES[key];
return {
name: names.short,
title: `Addresses ${names.long}`,
color: colors.amount[key],
tree,
tree: cohort,
addrCount: {
count: cohort.addrCount,
_30dChange: cohort.addrCount30dChange,
},
};
},
);
@@ -173,13 +181,17 @@ export function buildCohortData() {
// Addresses amount ranges
const addressesAmountRanges = entries(addressCohorts.amountRange).map(
([key, tree]) => {
([key, cohort]) => {
const names = AMOUNT_RANGE_NAMES[key];
return {
name: names.short,
title: `Addresses ${names.long}`,
color: colors.amountRange[key],
tree,
tree: cohort,
addrCount: {
count: cohort.addrCount,
_30dChange: cohort.addrCount30dChange,
},
};
},
);