Skip to content

Commit

Permalink
Fix year spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
hadro committed Dec 19, 2023
1 parent 81b1b5b commit 872447d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion moma/button2.js
Original file line number Diff line number Diff line change
Expand Up @@ -703,7 +703,7 @@ svg // female
.transition()
.duration(1000)
.attr("fill", d3.schemeSet2[0])
.attr("x", d=> x(d.Year))
.attr("x", d => x(d.Year))
.attr("width", 8)
.attr('fill-opacity', "1")
// .delay((d,i) => {return i*delaySet})
Expand All @@ -723,6 +723,7 @@ svg // female
.transition()
.duration(1000)
.delay((d,i) => {return i*delaySet})
.attr("x", d=> x(d.Year))
.attr("y", d => yF(0))
.attr("height", d => yF(d.female)-(height/2))
.attr("width", 8)
Expand Down

0 comments on commit 872447d

Please sign in to comment.