Skip to content

Commit b6ae85c

Browse files
committed
removed color comments
1 parent 4040ddc commit b6ae85c

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

src/app/components/PerfView.jsx

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,6 @@ const PerfView = ({ snapshots, viewIndex, width = 600, height = 600 }) => {
3737
.domain([0, 7])
3838
.range(['hsl(200,60%,60%)', 'hsl(255,30%,30%)'])
3939
.interpolate(d3.interpolateHcl);
40-
// const colorScale = d3.scaleLinear()
41-
// .domain([0, 7])
42-
// .range(['#60c96e', '#4d4193'])
43-
// .interpolate(d3.interpolateHcl);
44-
45-
// d3.quantize(d3.interpolateHcl('#60c96e', '#4d4193'), 10);
46-
// const colorScale = d3.scaleOrdinal(colorScheme);
4740

4841
// Set up circle-packing layout function
4942
const packFunc = useCallback(data => {
@@ -146,3 +139,7 @@ const PerfView = ({ snapshots, viewIndex, width = 600, height = 600 }) => {
146139
};
147140

148141
export default PerfView;
142+
143+
144+
// d3.quantize(d3.interpolateHcl('#60c96e', '#4d4193'), 10);
145+
// const colorScale = d3.scaleOrdinal(colorScheme);

0 commit comments

Comments
 (0)