From f9abbff6527d857e1c21d0658510ce94f35aaa69 Mon Sep 17 00:00:00 2001 From: Bruce Grugett Date: Fri, 19 May 2017 17:02:04 -0400 Subject: [PATCH] bubbleChart video in assets/videos --- app/components/BubbleChart.jsx | 2 +- app/components/HomeView.jsx | 14 +------------- app/components/Navbar.js | 2 +- assets/videos/bubbleChart.trec | Bin 0 -> 17443758 bytes 4 files changed, 3 insertions(+), 15 deletions(-) create mode 100644 assets/videos/bubbleChart.trec diff --git a/app/components/BubbleChart.jsx b/app/components/BubbleChart.jsx index 12bee50..92ffff4 100644 --- a/app/components/BubbleChart.jsx +++ b/app/components/BubbleChart.jsx @@ -377,7 +377,7 @@ export default class BubbleChart extends Component { var div = d3.select(fauxNode) .attr('id', 'vis') .append('svg') - .attr('viewBox', `0 0 ${width*2} ${height*2}`) + .attr('viewBox', `0 0 ${width} ${height}`) .attr('preserveAspectRatio', 'xMidYMid meet') return ( diff --git a/app/components/HomeView.jsx b/app/components/HomeView.jsx index 5feaef1..f24b98c 100644 --- a/app/components/HomeView.jsx +++ b/app/components/HomeView.jsx @@ -14,21 +14,9 @@ class HomeView extends Component {
-
- -
-
- -
-
- -
-
+
-
- -
diff --git a/app/components/Navbar.js b/app/components/Navbar.js index 3073290..39a11c5 100755 --- a/app/components/Navbar.js +++ b/app/components/Navbar.js @@ -107,7 +107,7 @@ function NavTop(props) {