diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2019-03-30 14:25:48 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2019-03-30 14:25:48 +0100 |
| commit | 3819da73b0bbf8604a0ef33cfa7dcf4eac2e8d33 (patch) | |
| tree | 217e74e9b0d1d38fde7c90a66b9a0deaccec7ca8 /client/chart | |
| parent | 3883981846528ed8e4567803e5ca0e890c98c43f (diff) | |
piecharts!
Diffstat (limited to 'client/chart')
| -rw-r--r-- | client/chart/pie.charts.js | 3 |
1 files changed, 2 insertions, 1 deletions
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]) |
