-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.js
49 lines (41 loc) · 1.61 KB
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
// specify the csv file containing your collection
const url = "papers.csv";
// specify your taxonomy
// Note: display labels will be automatically created by capitalising
// each word and replacing underscores with spaces.
const taxonomy = {
acquisition: ["Microscale", "Nanoscale", "Vis-for-Acquisition"],
alignment: ["2D-Alignment", "3D-Registration"],
segmentation: ["Automatic", "Interactive", "Connectivity-Extraction", "Provenance-Tracking"],
proofreading: ["Manual", "Semi-Automatic", "Guided-Automatic", "Crowdsourced"],
analysis: ["Data-Structures", "Spatial-Exploration", "Connectivity-Exploration", "Vis-focused-Analysis", "Communication"]
// facet_a: ["red", "blue"],
// facet_b: ["pears", "apples", "oranges"],
// facet_c: ["alpha", "beta", "gamma", "delta"]
// type: tool, method, data set, related survey, background
// modality: LM, EM, both, none
// pipeline: acquisition, registration, segmentation, proofreading, analysis, none
};
// Uncomment this line and remove the above if you do not want to use a taxonomy
// const taxonomy = null;
// specify your tags
const tags = ["Github", "Executable", "LM", "EM", "Dataset"];
// Uncomment this line and remove the above if you do not want to use tags
// const tags = null;
// modify this to change the text shown on each card
// (in between the image and the taxonomy tags)
function cardContent(div) {
div.append("h2").text((d) => d.Title);
div.append("span").html((d) =>
[
d.Author,
". <i>",
d["Publication Title"],
"</i> (",
d["Publication Year"],
")",
" <a href=" + d.URL + ' target="_blank">[Link]</a>',
"<br>",
].join("")
);
}