Skip to content

Commit befc92a

Browse files
committed
removed squares in non medaled page
1 parent 92824db commit befc92a

1 file changed

Lines changed: 0 additions & 19 deletions

File tree

website/js/never-medaled.js

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,6 @@
587587
const chartPanel = layout.append("div")
588588
.attr("class", "never-chart-panel");
589589

590-
drawContinentSummary(mapPanel, data.byContinent);
591590
drawMap(mapPanel, data);
592591
drawBarChart(chartPanel, data.topCountries);
593592
}
@@ -697,24 +696,6 @@
697696
};
698697
}
699698

700-
function drawContinentSummary(container, data) {
701-
const summary = container.append("div")
702-
.attr("class", "never-continent-summary");
703-
704-
summary.selectAll("div")
705-
.data(data)
706-
.join("div")
707-
.attr("class", "never-continent-card")
708-
.html(d => `
709-
<div class="never-continent-name">
710-
<span class="never-continent-dot" style="background:${continentColors[d.continent] || "#c9c9c9"}"></span>
711-
${d.continent}
712-
</div>
713-
<div class="never-continent-count">${d.countries}</div>
714-
<div class="never-continent-detail">countries · ${d3.format(",")(d.participations)} participations</div>
715-
`);
716-
}
717-
718699
function drawMap(container, data) {
719700
const width = 860;
720701
const height = 520;

0 commit comments

Comments
 (0)