D3-graph-gallery icon indicating copy to clipboard operation
D3-graph-gallery copied to clipboard

Typo in Highlight links in arc diagram

Open padraighu opened this issue 5 years ago • 2 comments

In the code section in page https://www.d3-graph-gallery.com/graph/arc_highlight.html, I think there is a typo: // Add the highlighting functionality nodes .on('mouseover', function (d) { // Highlight the nodes: every node is green except of him nodes.style('fill', "#B8B8B8") d3.select(this).style('fill', '#69b3b2') It should be every node is grey except of him since the highlighted node is in green while the other nodes are in grey.

padraighu avatar Sep 26 '19 04:09 padraighu

Hmm, I still see this error even though the PR has been merged 🤔

holtzy avatar Mar 05 '21 16:03 holtzy

Interesting... My merge request changed the comment in arc.html. It appears that there are 2 other HTML files with the same comment: arc_highlight.html, and arc_template.html.

I'm not sure how these files relate to each other but perhaps the comments should be changed in those 2 as well?

padraighu avatar Mar 09 '21 02:03 padraighu