Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
adding an info div to network visualization
<div id="main" role="main">
<div id="vis"></div>
<div id="info"></div>
</div>
node.on("mouseover", showDetails)
.on("mouseout", hideDetails)
.on("click", showInfo)
showInfo = (d,i) ->
infoDiv = d3.select("#info")
content = "<ul>"
content += "<li>Name: #{d.name}</li>"
content += "<li>Artist: #{d.artist}</li>"
content += "<li>Playcount: #{d.playcount}</li>"
content += "</ul>"
infoDiv.html(content)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.