Skip to content

Commit

Permalink
filters out none and human for explore
Browse files Browse the repository at this point in the history
  • Loading branch information
jadiehm committed Dec 10, 2024
1 parent ced1904 commit 4e1f1f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/ScatterExplore.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import * as eases from 'svelte/easing';
const filteredRawData = rawData.filter(d => d.price <= 100);
const filteredRawData = rawData.filter(d => d.price <= 100 && d.topgroup !== "human" && d.topgroup !== "none");
const curve = d3.curveLinear;
const yKey = 'price';
const xKey = 'rating';
Expand Down
2 changes: 1 addition & 1 deletion src/stores/misc.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const topgroupSelect = writable("all");
export const photoSelect = writable("all");
export const hideTooltip = writable(true);

const filteredData = allWineData.filter(d => d.price <= 100);
const filteredData = allWineData.filter(d => d.price <= 100 && d.topgroup !== "human" && d.topgroup !== "none");

export const bigScatterData = writable(filteredData);
export const selectedAnimalSTORE = writable([]);
Expand Down

0 comments on commit 4e1f1f6

Please sign in to comment.