diff --git a/hw3/.idea/workspace.xml b/hw3/.idea/workspace.xml
index 149019f..739d75b 100644
--- a/hw3/.idea/workspace.xml
+++ b/hw3/.idea/workspace.xml
@@ -3,7 +3,6 @@
-
@@ -28,13 +27,13 @@
-
+
-
+
@@ -63,8 +62,8 @@
-
-
+
+
@@ -180,12 +179,12 @@
1569214123580
-
+
-
+
@@ -200,14 +199,14 @@
-
+
-
+
@@ -240,8 +239,8 @@
-
-
+
+
diff --git a/hw3/script.js b/hw3/script.js
index c826e52..4e31ccd 100644
--- a/hw3/script.js
+++ b/hw3/script.js
@@ -79,14 +79,14 @@ function update(data) {
d3.select(this).style('fill', 'steelblue')
})
- .attr('height', d => aScale(d.b));
+ .attr('height', d => bScale(d.b));
barChart2.enter()
.append("rect")
.attr("x", function (d, i) {
return iScale(i + 1);
})
- .attr("height", d => aScale(d.b))
+ .attr("height", d => bScale(d.b))
.attr("y", 0)
.attr("width", 10)