Questions tagged [d3.js]
D3.js is a JavaScript library for creating interactive data-bound visualisations of documents using HTML, SVG, and Canvas. Questions should mention the version number of D3 you are using.
d3.js
39,355
questions
12
votes
11
answers
50k
views
Retrieving Keys from JSON Array key-value pair dynamically - Javascript
I have a question that would like to seek your expertise on.
This is a JSON array that I have:
[{"A":20,"B":32,"C":27,"D":30,"E":40}]
What I would like to do is to retrieve the keys (A, B, C, D, E) ...
11
votes
1
answer
11k
views
Does Force-Directed Layout of d3-js support image as node?
d3 has a demo of a Force-Directed Graph Layout.
Instead of circles, I want all nodes in the graph to be images.
so, I changed
.append("svg:circle")
.attr("class", "node")
.attr("cx", ...
2
votes
2
answers
2k
views
Bullet graph in browser - alternative to d3.js? (with good browser support) [closed]
I want to implement d3.js bullet graph
in my applications but its not supported in IE (< 9).
Is there any other JavaScript libraries for implementing bullet graphs?
Please help me.
Thanks
31
votes
4
answers
21k
views
d3.js and document.onReady
I'm just getting started with d3.js and there is one detail which is completely eluding me: how do I have my code execute only after the DOM is ready to receive input?
I could, of course, use ...
7
votes
2
answers
8k
views
D3.js tipsy tooltips
Is D3.js able to supprt tipsy tooltip? Can someone show me an example if possible. thanks.
3
votes
1
answer
5k
views
Using nested data with D3.js
I am trying to display a beautiful line graph using D3. The problem I have is with the format of the data.
I have the following data (as an example):
var data = [
{
label: "name",
...
8
votes
1
answer
19k
views
Using JSON data in D3 Javascript visualisation
I'm working through the use of JSON data to drive some charts made with the javascript D3 visualisation tools (http://mbostock.github.com/d3/). I've setup my WCF service, and this code in Jquery ...
1
vote
2
answers
3k
views
Implementing zoom buttons using d3
I am trying to develop a graph visualization webpage using d3, and I
need to provide basic zoom and pan functionality over the graph.
I saw the d3.behaviour.js file to see how the zoom functionality
...
85
votes
3
answers
23k
views
Protovis vs D3.js
TLDR: Does anyone have experience of both protovis & D3.js to illuminate the differences between the two?
I've been playing with protovis for the last 2 weeks and it's been great so far. Except ...
4
votes
3
answers
3k
views
Is there a way to make Internet Explorer understand this.style.setProperty?
I've started using the excellent D3.js data visualisation library (http://mbostock.github.com/d3/).
The results work great in Firefox and Chrome, but not in IE. One issue seems to be the heavy use of ...