diff --git a/src/d3-components/bubbles-nested-routes/bubbles.vue b/src/d3-components/bubbles-nested-routes/bubbles.vue index bbc64a9..4123952 100644 --- a/src/d3-components/bubbles-nested-routes/bubbles.vue +++ b/src/d3-components/bubbles-nested-routes/bubbles.vue @@ -35,7 +35,7 @@ export default { // TODO: remove it later d3.csv('static/data/earthquakes.csv', function(data) { - that.ph2 = new PH2(bubblesG, data, 'country'); + that.ph2 = new PH2(bubblesG, data, that.groupBy); }); } diff --git a/src/d3-components/bubbles-nested-routes/index.vue b/src/d3-components/bubbles-nested-routes/index.vue index 2d84bcc..af8ce36 100644 --- a/src/d3-components/bubbles-nested-routes/index.vue +++ b/src/d3-components/bubbles-nested-routes/index.vue @@ -15,22 +15,23 @@ Links: