From 27c19d34b79b886ba51dbbded06176f76cf5551b Mon Sep 17 00:00:00 2001 From: Jared Wilber Date: Thu, 28 Sep 2023 15:26:34 -0700 Subject: [PATCH] remove console logs --- .../src/lib/Comparison/BumpChart.svelte | 29 ------------------- 1 file changed, 29 deletions(-) diff --git a/pykoi/frontend/src/lib/Comparison/BumpChart.svelte b/pykoi/frontend/src/lib/Comparison/BumpChart.svelte index 9cf5247..071408a 100644 --- a/pykoi/frontend/src/lib/Comparison/BumpChart.svelte +++ b/pykoi/frontend/src/lib/Comparison/BumpChart.svelte @@ -3,14 +3,7 @@ import { line } from "d3-shape"; import { comparisonData } from "./store"; - $: firstData = $comparisonData - .filter((d) => d.qid === 3) - .map((d) => ({ model: d.model, rank: d.rank })); - - $: console.log("firstData", $comparisonData); - $: models = Array.from(new Set($comparisonData.map((d) => d.model))); - $: console.log("models", models); let outerHeight; let outerWidth; @@ -46,18 +39,11 @@ $: pathLine = line() .x((d) => xScale(d.qid)) .y((d) => yScale(d.rank)); - // .curve(curveBasis) $: modelData = models.map((model) => $comparisonData.filter((d) => d.model === model) ); - $: console.log("md", modelData); - $: console.log( - "ranks", - $comparisonData.map((d) => d.rank) - ); - $: xTickArray = xScale.domain().length > 10 ? xScale.domain().filter((_, index) => index % 2 === 0) @@ -122,21 +108,6 @@ {/if} {/each} - - {#each yScale.domain() as tick} - - - - {/each}