Skip to content

Commit

Permalink
change color scheme in graph3.js #56
Browse files Browse the repository at this point in the history
this does not fix the problem however
  • Loading branch information
extua committed Aug 19, 2024
1 parent ae38dd5 commit 2b5027a
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions visualisations/graphs/graph3.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,10 @@ async function createGraph3(gql_query) {
if (group.get(key)) {
return group.get(key).seen;
}
console.log(group);
console.log(key);
return 0;
})
(d3.index(data, d => parseUnixTime(d.date), d => d.routingTech));

console.log(series);

// Prepare the scales for positional and color encodings.
const x = d3.scaleUtc()
.domain(d3.extent(data, d => parseUnixTime(d.date)))
Expand All @@ -45,7 +41,7 @@ async function createGraph3(gql_query) {

const color = d3.scaleOrdinal()
.domain(series.map(d => d.key))
.range(d3.schemeTableau10);
.range(d3.schemeSet3)

// Construct an area shape.
const area = d3.area()
Expand Down

0 comments on commit 2b5027a

Please sign in to comment.