I was expecting some concepts for the D Language version 3.
More informative titles help people unfamiliar with great tools (such as d3.js - an outstanding JavaScript lib for manipulating documents; see d3js.org) get to know about these tools.
11–20 of 34 posts
I was expecting some concepts for the D Language version 3.
More informative titles help people unfamiliar with great tools (such as d3.js - an outstanding JavaScript lib for manipulating documents; see d3js.org) get to know about these tools.
What are the best open-source charting libraries available right now (in terms of looks)? D3 or not, although I'll prefer D3, as it would be easier to extend.
I'm looking for something as pretty as Highcharts, to use in open-source apps.
This is a nice tutorial. I like the order and accessible way it introduces selections and data binding, which are some of the harder things to get into when starting with d3.
This is another must-read: http://bost.ocks.org/mike/join/
Earlier quoted context omitted.
I think Mike Bostock's (the author of D3) tutorials are really high quality too. https://github.com/mbostock/d3/wiki/Tutorials However, once you dive a bit deeper with selections and nesting, there are some things that are not immediately obvious how to structure. For example, when we implemented small multiple visualization, figuring out the best way to structure enter and update sets for nested data took a few atte…
This is one of the main reasons I'm writing these tutorials - small multiples (nested selections) in D3 are explained very poorly in the official docs, and are a constant stumbling block for coworkers not very familiar with the library. Sadly, getting around to properly explaining them will take another lesson or two.
I'm not saying I can't figure it out from the code, I can. But still a "what is D3" section would help.
The site looks like a really nice mix of prose explanation and code examples. And D3 looks very intriguing whatever it is. OK I'm off to Google now.
Borderline off-topic: What are the best open-source charting libraries available right now (in terms of looks)? D3 or not, although I'll prefer D3, as it would be easier to extend. I'm looking for something as pretty as Highcharts, to use in open-source apps.
Borderline off-topic: What are the best open-source charting libraries available right now (in terms of looks)? D3 or not, although I'll prefer D3, as it would be easier to extend. I'm looking for something as pretty as Highcharts, to use in open-source apps.
root.selectAll('rect')
.data(rects).enter()
.attr({
x: function (d) { return d.x; },
y: function (d) { return d.y; },
width: function (d) { d.w; }
});
https://github.com/mbostock/d3/pull/277