Skip to content

Commit f46ad73

Browse files
committed
clean up
1 parent 66b8582 commit f46ad73

File tree

3 files changed

+1
-13
lines changed

3 files changed

+1
-13
lines changed

website/src/components/svelte/charts/NamedScatterChart.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script lang="ts">
2-
import { BarY, Dot, GridY, Plot } from 'svelteplot';
2+
import { Dot, GridY, Plot } from 'svelteplot';
33
import type { NamedDataPoint } from '../../../../../data-wasm/pkg/data_wasm';
44
import ChartWrapper from '../ChartWrapper.svelte';
55

website/src/pages/pluginstats/downloads.astro

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -36,17 +36,6 @@ const downloadDistributionDataPoints = individualDownloadDataPoints
3636
.map(point => {
3737
return point.downloads;
3838
});
39-
40-
const top_loc = individualDownloadDataPoints.filter(x => x.downloads > 0 && x.version_count > 0 && x.total_loc > 0).sort((a, b) => b.total_loc - a.total_loc);
41-
42-
console.log(top_loc[0]);
43-
console.log(top_loc[1]);
44-
console.log(top_loc[2]);
45-
46-
// bottom 3
47-
console.log(top_loc[top_loc.length - 1]);
48-
console.log(top_loc[top_loc.length - 2]);
49-
console.log(top_loc[top_loc.length - 3]);
5039
---
5140

5241
<StarlightPage

website/src/pages/pluginstats/repo-data.astro

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
import StarlightPage from '@astrojs/starlight/components/StarlightPage.astro';
33
import BarChart from '../../components/svelte/charts/BarChart.svelte';
4-
import NamedScatterChart from '../../components/svelte/charts/NamedScatterChart.svelte';
54
import { getPluginDataArray } from '../../utils/data';
65
76
const frontendFrameworks = ['react', 'preact', 'svelte', 'vue', '@angular/core', 'solid-js'];

0 commit comments

Comments
 (0)