summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/chart/chart.container.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/chart/chart.container.js b/client/chart/chart.container.js
index ea86f998..eba1b529 100644
--- a/client/chart/chart.container.js
+++ b/client/chart/chart.container.js
@@ -165,7 +165,7 @@ class ChartContainer extends Component {
let countriesByYear = Object.keys(countriesByYearLookup).map(country => [country, countriesByYearLookup[country]]).sort((a,b) => b[1] - a[1])
let topCountriesForThisYear = countriesByYear.slice(0, topCountryCount)
let bottomTotal = countriesByYear.slice(topCountryCount).reduce((a,b) => (a + b[1]), 0)
- console.log(topCountriesForThisYear)
+ // console.log(topCountriesForThisYear)
topCountriesForThisYear.push([otherCountriesLabel, bottomTotal])
const tableRows = topCountriesForThisYear.filter(pair => !!pair[1]).map(([country, total]) => {
let colorIndex = topCountries.indexOf(country)