Spaces:
Runtime error
Runtime error
Commit
·
91ca147
1
Parent(s):
4df4f0b
update to show current month
Browse files- package.json +2 -1
- pages/index.md +5 -4
- pnpm-lock.yaml +0 -0
package.json
CHANGED
@@ -34,5 +34,6 @@
|
|
34 |
"trim@<0.0.3": ">0.0.3",
|
35 |
"sqlite3": "5.1.5",
|
36 |
"axios": "^1.7.4"
|
37 |
-
}
|
|
|
38 |
}
|
|
|
34 |
"trim@<0.0.3": ">0.0.3",
|
35 |
"sqlite3": "5.1.5",
|
36 |
"axios": "^1.7.4"
|
37 |
+
},
|
38 |
+
"packageManager": "[email protected]+sha512.38dc6fba8dba35b39340b9700112c2fe1e12f10b17134715a4aa98ccf7bb035e76fd981cf0bb384dfa98f8d6af5481c2bef2f4266a24bfa20c34eb7147ce0b5e"
|
39 |
}
|
pages/index.md
CHANGED
@@ -32,7 +32,6 @@ SELECT
|
|
32 |
repo,
|
33 |
COUNT(*) AS creations
|
34 |
FROM all_data
|
35 |
-
WHERE month < DATE_TRUNC('month', CURRENT_DATE())
|
36 |
GROUP BY month, repo
|
37 |
ORDER BY month, repo
|
38 |
```
|
@@ -74,13 +73,15 @@ SELECT month, repo, creations
|
|
74 |
FROM ${hub_growth}
|
75 |
WHERE repo = 'dataset'
|
76 |
```
|
77 |
-
|
78 |
-
|
79 |
-
data={dataset_creations_by_month}
|
80 |
x=month
|
81 |
fillColor="#cf0d06"
|
82 |
strokeColor="#eb5752"
|
|
|
83 |
labels=true
|
|
|
|
|
84 |
y=creations
|
85 |
/>
|
86 |
|
|
|
32 |
repo,
|
33 |
COUNT(*) AS creations
|
34 |
FROM all_data
|
|
|
35 |
GROUP BY month, repo
|
36 |
ORDER BY month, repo
|
37 |
```
|
|
|
73 |
FROM ${hub_growth}
|
74 |
WHERE repo = 'dataset'
|
75 |
```
|
76 |
+
<AreaChart
|
77 |
+
data={dataset_creations_by_month}
|
|
|
78 |
x=month
|
79 |
fillColor="#cf0d06"
|
80 |
strokeColor="#eb5752"
|
81 |
+
lineColor="#000000"
|
82 |
labels=true
|
83 |
+
yMax=20000
|
84 |
+
fillOpacity=0.1
|
85 |
y=creations
|
86 |
/>
|
87 |
|
pnpm-lock.yaml
ADDED
The diff for this file is too large to render.
See raw diff
|
|