Skip to content

Commit

Permalink
plot update newer
Browse files Browse the repository at this point in the history
  • Loading branch information
Sudipta Kar committed Sep 21, 2024
1 parent 1e86b67 commit 80dda6d
Show file tree
Hide file tree
Showing 15 changed files with 37 additions and 34 deletions.
Binary file added img/.DS_Store
Binary file not shown.
13 changes: 7 additions & 6 deletions iterations/2022/april/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -273,10 +273,11 @@ <h5> (Updated on: <span id="field-update-date"></span>)</h5>
var month_year = d3.select("#field-iteration").attr("data-target").split(' ')
var iteration = month_year[1] + '/' + month_year[0].toLowerCase();

d3.json('/months.json').then(function(data) {
var image = 'url("' + data[iteration] + '")';
document.documentElement.style.setProperty("--selection-background", image);
});
// d3.json('/months.json').then(function(data) {
// var image = 'url("' + data[iteration] + '")';
var image = 'banner.png';
document.documentElement.style.setProperty("--selection-background", image);
// });

const counters = document.querySelectorAll('.counter');
const speed = 20;
Expand Down Expand Up @@ -475,7 +476,7 @@ <h5> (Updated on: <span id="field-update-date"></span>)</h5>
svg.append("text")
.attr("x", legx + 20)
.attr("y", legy + 5)
.text(function(d) { if (type == "review") {return "Avg. Review Score"} else {return "Meta Review Score"} })
.text(function(d) { if (type == "review") {return "Review Scores"} else {return "Meta Review Score"} })
.style("font-size", "13px")
.attr("alignment-baseline","middle")
.attr("opacity", 0.7)
Expand All @@ -495,7 +496,7 @@ <h5> (Updated on: <span id="field-update-date"></span>)</h5>
(height + margin.top + 20) + ")")
.style("text-anchor", "middle")
.style("font-size", "11px")
.text(function(d) { if (type == "review") {return "Avg. Review Scores per Paper ⟶"} else {return "Meta Review Scores per Paper ⟶"} });
.text(function(d) { if (type == "review") {return "Review Scores ⟶"} else {return "Meta Review Scores ⟶"} });

if (type == "meta") {
svg.append("g")
Expand Down
13 changes: 7 additions & 6 deletions iterations/2022/december/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -273,10 +273,11 @@ <h5> (Updated on: <span id="field-update-date"></span>)</h5>
var month_year = d3.select("#field-iteration").attr("data-target").split(' ')
var iteration = month_year[1] + '/' + month_year[0].toLowerCase();

d3.json('/months.json').then(function(data) {
var image = 'url("' + data[iteration] + '")';
document.documentElement.style.setProperty("--selection-background", image);
});
// d3.json('/months.json').then(function(data) {
// var image = 'url("' + data[iteration] + '")';
var image = 'banner.png';
document.documentElement.style.setProperty("--selection-background", image);
// });

const counters = document.querySelectorAll('.counter');
const speed = 20;
Expand Down Expand Up @@ -475,7 +476,7 @@ <h5> (Updated on: <span id="field-update-date"></span>)</h5>
svg.append("text")
.attr("x", legx + 20)
.attr("y", legy + 5)
.text(function(d) { if (type == "review") {return "Avg. Review Score"} else {return "Meta Review Score"} })
.text(function(d) { if (type == "review") {return "Review Scores"} else {return "Meta Review Score"} })
.style("font-size", "13px")
.attr("alignment-baseline","middle")
.attr("opacity", 0.7)
Expand All @@ -495,7 +496,7 @@ <h5> (Updated on: <span id="field-update-date"></span>)</h5>
(height + margin.top + 20) + ")")
.style("text-anchor", "middle")
.style("font-size", "11px")
.text(function(d) { if (type == "review") {return "Avg. Review Scores per Paper ⟶"} else {return "Meta Review Scores per Paper ⟶"} });
.text(function(d) { if (type == "review") {return "Review Scores ⟶"} else {return "Meta Review Scores ⟶"} });

if (type == "meta") {
svg.append("g")
Expand Down
13 changes: 7 additions & 6 deletions iterations/2022/february/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -273,10 +273,11 @@ <h5> (Updated on: <span id="field-update-date"></span>)</h5>
var month_year = d3.select("#field-iteration").attr("data-target").split(' ')
var iteration = month_year[1] + '/' + month_year[0].toLowerCase();

d3.json('/months.json').then(function(data) {
var image = 'url("' + data[iteration] + '")';
document.documentElement.style.setProperty("--selection-background", image);
});
// d3.json('/months.json').then(function(data) {
// var image = 'url("' + data[iteration] + '")';
var image = 'banner.png';
document.documentElement.style.setProperty("--selection-background", image);
// });

const counters = document.querySelectorAll('.counter');
const speed = 20;
Expand Down Expand Up @@ -475,7 +476,7 @@ <h5> (Updated on: <span id="field-update-date"></span>)</h5>
svg.append("text")
.attr("x", legx + 20)
.attr("y", legy + 5)
.text(function(d) { if (type == "review") {return "Avg. Review Score"} else {return "Meta Review Score"} })
.text(function(d) { if (type == "review") {return "Review Scores"} else {return "Meta Review Score"} })
.style("font-size", "13px")
.attr("alignment-baseline","middle")
.attr("opacity", 0.7)
Expand All @@ -495,7 +496,7 @@ <h5> (Updated on: <span id="field-update-date"></span>)</h5>
(height + margin.top + 20) + ")")
.style("text-anchor", "middle")
.style("font-size", "11px")
.text(function(d) { if (type == "review") {return "Avg. Review Scores per Paper ⟶"} else {return "Meta Review Scores per Paper ⟶"} });
.text(function(d) { if (type == "review") {return "Review Scores ⟶"} else {return "Meta Review Scores ⟶"} });

if (type == "meta") {
svg.append("g")
Expand Down
Binary file added iterations/2023/.DS_Store
Binary file not shown.
4 changes: 2 additions & 2 deletions iterations/2023/april/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ <h5> (Updated on: <span id="field-update-date"></span>)</h5>
svg.append("text")
.attr("x", legx + 20)
.attr("y", legy + 5)
.text(function(d) { if (type == "review") {return "Avg. Review Score"} else {return "Meta Review Score"} })
.text(function(d) { if (type == "review") {return "Review Scores"} else {return "Meta Review Score"} })
.style("font-size", "13px")
.attr("alignment-baseline","middle")
.attr("opacity", 0.7)
Expand All @@ -496,7 +496,7 @@ <h5> (Updated on: <span id="field-update-date"></span>)</h5>
(height + margin.top + 20) + ")")
.style("text-anchor", "middle")
.style("font-size", "11px")
.text(function(d) { if (type == "review") {return "Avg. Review Scores per Paper ⟶"} else {return "Meta Review Scores per Paper ⟶"} });
.text(function(d) { if (type == "review") {return "Review Scores ⟶"} else {return "Meta Review Scores ⟶"} });

if (type == "meta") {
svg.append("g")
Expand Down
4 changes: 2 additions & 2 deletions iterations/2023/august/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ <h5> (Updated on: <span id="field-update-date"></span>)</h5>
svg.append("text")
.attr("x", legx + 20)
.attr("y", legy + 5)
.text(function(d) { if (type == "review") {return "Avg. Review Score"} else {return "Meta Review Score"} })
.text(function(d) { if (type == "review") {return "Review Scores"} else {return "Meta Review Score"} })
.style("font-size", "13px")
.attr("alignment-baseline","middle")
.attr("opacity", 0.7)
Expand All @@ -496,7 +496,7 @@ <h5> (Updated on: <span id="field-update-date"></span>)</h5>
(height + margin.top + 20) + ")")
.style("text-anchor", "middle")
.style("font-size", "11px")
.text(function(d) { if (type == "review") {return "Avg. Review Scores per Paper ⟶"} else {return "Meta Review Scores per Paper ⟶"} });
.text(function(d) { if (type == "review") {return "Review Scores ⟶"} else {return "Meta Review Scores ⟶"} });

if (type == "meta") {
svg.append("g")
Expand Down
4 changes: 2 additions & 2 deletions iterations/2023/december/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ <h5> (Updated on: <span id="field-update-date"></span>)</h5>
svg.append("text")
.attr("x", legx + 20)
.attr("y", legy + 5)
.text(function(d) { if (type == "review") {return "Avg. Review Score"} else {return "Meta Review Score"} })
.text(function(d) { if (type == "review") {return "Review Scores"} else {return "Meta Review Score"} })
.style("font-size", "13px")
.attr("alignment-baseline","middle")
.attr("opacity", 0.7)
Expand All @@ -496,7 +496,7 @@ <h5> (Updated on: <span id="field-update-date"></span>)</h5>
(height + margin.top + 20) + ")")
.style("text-anchor", "middle")
.style("font-size", "11px")
.text(function(d) { if (type == "review") {return "Avg. Review Scores per Paper ⟶"} else {return "Meta Review Scores per Paper ⟶"} });
.text(function(d) { if (type == "review") {return "Review Scores ⟶"} else {return "Meta Review Scores ⟶"} });

if (type == "meta") {
svg.append("g")
Expand Down
4 changes: 2 additions & 2 deletions iterations/2023/february/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ <h5> (Updated on: <span id="field-update-date"></span>)</h5>
svg.append("text")
.attr("x", legx + 20)
.attr("y", legy + 5)
.text(function(d) { if (type == "review") {return "Avg. Review Score"} else {return "Meta Review Score"} })
.text(function(d) { if (type == "review") {return "Review Scores"} else {return "Meta Review Score"} })
.style("font-size", "13px")
.attr("alignment-baseline","middle")
.attr("opacity", 0.7)
Expand All @@ -496,7 +496,7 @@ <h5> (Updated on: <span id="field-update-date"></span>)</h5>
(height + margin.top + 20) + ")")
.style("text-anchor", "middle")
.style("font-size", "11px")
.text(function(d) { if (type == "review") {return "Avg. Review Scores per Paper ⟶"} else {return "Meta Review Scores per Paper ⟶"} });
.text(function(d) { if (type == "review") {return "Review Scores ⟶"} else {return "Meta Review Scores ⟶"} });

if (type == "meta") {
svg.append("g")
Expand Down
4 changes: 2 additions & 2 deletions iterations/2023/june/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ <h5> (Updated on: <span id="field-update-date"></span>)</h5>
svg.append("text")
.attr("x", legx + 20)
.attr("y", legy + 5)
.text(function(d) { if (type == "review") {return "Avg. Review Score"} else {return "Meta Review Score"} })
.text(function(d) { if (type == "review") {return "Review Scores"} else {return "Meta Review Score"} })
.style("font-size", "13px")
.attr("alignment-baseline","middle")
.attr("opacity", 0.7)
Expand All @@ -496,7 +496,7 @@ <h5> (Updated on: <span id="field-update-date"></span>)</h5>
(height + margin.top + 20) + ")")
.style("text-anchor", "middle")
.style("font-size", "11px")
.text(function(d) { if (type == "review") {return "Avg. Review Scores per Paper ⟶"} else {return "Meta Review Scores per Paper ⟶"} });
.text(function(d) { if (type == "review") {return "Review Scores ⟶"} else {return "Meta Review Scores ⟶"} });

if (type == "meta") {
svg.append("g")
Expand Down
4 changes: 2 additions & 2 deletions iterations/2023/october/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ <h5> (Updated on: <span id="field-update-date"></span>)</h5>
svg.append("text")
.attr("x", legx + 20)
.attr("y", legy + 5)
.text(function(d) { if (type == "review") {return "Avg. Review Score"} else {return "Meta Review Score"} })
.text(function(d) { if (type == "review") {return "Review Scores"} else {return "Meta Review Score"} })
.style("font-size", "13px")
.attr("alignment-baseline","middle")
.attr("opacity", 0.7)
Expand All @@ -496,7 +496,7 @@ <h5> (Updated on: <span id="field-update-date"></span>)</h5>
(height + margin.top + 20) + ")")
.style("text-anchor", "middle")
.style("font-size", "11px")
.text(function(d) { if (type == "review") {return "Avg. Review Scores per Paper ⟶"} else {return "Meta Review Scores per Paper ⟶"} });
.text(function(d) { if (type == "review") {return "Review Scores ⟶"} else {return "Meta Review Scores ⟶"} });

if (type == "meta") {
svg.append("g")
Expand Down
Binary file added iterations/2024/april/.DS_Store
Binary file not shown.
Binary file removed iterations/2024/april/banner.png
Binary file not shown.
4 changes: 2 additions & 2 deletions iterations/2024/april/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ <h5> (Updated on: <span id="field-update-date"></span>)</h5>
svg.append("text")
.attr("x", legx + 20)
.attr("y", legy + 5)
.text(function(d) { if (type == "review") {return "Avg. Review Score"} else {return "Meta Review Score"} })
.text(function(d) { if (type == "review") {return "Review Scores"} else {return "Meta Review Score"} })
.style("font-size", "13px")
.attr("alignment-baseline","middle")
.attr("opacity", 0.7)
Expand All @@ -496,7 +496,7 @@ <h5> (Updated on: <span id="field-update-date"></span>)</h5>
(height + margin.top + 20) + ")")
.style("text-anchor", "middle")
.style("font-size", "11px")
.text(function(d) { if (type == "review") {return "Avg. Review Scores per Paper ⟶"} else {return "Meta Review Scores per Paper ⟶"} });
.text(function(d) { if (type == "review") {return "Review Scores ⟶"} else {return "Meta Review Scores ⟶"} });

if (type == "meta") {
svg.append("g")
Expand Down
4 changes: 2 additions & 2 deletions iterations/2024/february/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ <h5> (Updated on: <span id="field-update-date"></span>)</h5>
svg.append("text")
.attr("x", legx + 20)
.attr("y", legy + 5)
.text(function(d) { if (type == "review") {return "Avg. Review Score"} else {return "Meta Review Score"} })
.text(function(d) { if (type == "review") {return "Review Scores"} else {return "Meta Review Score"} })
.style("font-size", "13px")
.attr("alignment-baseline","middle")
.attr("opacity", 0.7)
Expand All @@ -496,7 +496,7 @@ <h5> (Updated on: <span id="field-update-date"></span>)</h5>
(height + margin.top + 20) + ")")
.style("text-anchor", "middle")
.style("font-size", "11px")
.text(function(d) { if (type == "review") {return "Avg. Review Scores per Paper ⟶"} else {return "Meta Review Scores per Paper ⟶"} });
.text(function(d) { if (type == "review") {return "Review Scores ⟶"} else {return "Meta Review Scores ⟶"} });

if (type == "meta") {
svg.append("g")
Expand Down

0 comments on commit 80dda6d

Please sign in to comment.