Created
September 16, 2013 01:00
-
-
Save chelsimoy/6575645 to your computer and use it in GitHub Desktop.
one way to highlight minor bars
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var networks = ["Comedy Central","TNT", "C-SPAN"]; | |
//inside the bars data join, this code is helpful | |
.classed("g-minor-highlight", function(d) { return networks.indexOf(d.Network) >= 0; }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
great code =)