From 3819da73b0bbf8604a0ef33cfa7dcf4eac2e8d33 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sat, 30 Mar 2019 14:25:48 +0100 Subject: piecharts! --- client/chart/pie.charts.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'client/chart') diff --git a/client/chart/pie.charts.js b/client/chart/pie.charts.js index 47f7756c..af790be7 100644 --- a/client/chart/pie.charts.js +++ b/client/chart/pie.charts.js @@ -18,6 +18,7 @@ class PieCharts extends Component { const { payload } = this.props const { paper, citations } = payload.data if (!citations.length) return null + const countries = {} const institutionTypes = { ...initialInstitutionLookup } citations.forEach(citation => { @@ -55,7 +56,7 @@ class PieCharts extends Component { otherCountryCount, ]) } - console.log(countryTuples, otherCountryCount, countryRows) + // console.log(countryTuples, otherCountryCount, countryRows) const institutionRows = toTuples(institutionTypes) .map(a => [institutionOrder[a[0]], a]) -- cgit v1.2.3-70-g09d2