Skip to content

Commit

Permalink
change .style("id",...) to .attr("id",...)
Browse files Browse the repository at this point in the history
  • Loading branch information
twgardner2 committed Jun 18, 2017
1 parent b5b8477 commit bcd50bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chapter4/4_22.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
.curve(d3.curveCardinal);
d3.select("svg")
.append("path")
.style("id", `${key} Area`)
.attr("id", `${key}Area`)
.attr("d", movieArea(data));
}
});
Expand Down

0 comments on commit bcd50bb

Please sign in to comment.