AngularJS + D3.js = Radian
11–20 of 21 posts
Re: AngularJS + D3.js = Radian
#12"Radian is currently proprietary. There are some contractual encumbrances that prevent us from open-sourcing it right now, but that may change at some point in the future." So why would this be interesting for HN readers? The idea isn't that revolutionary, and there is no code and no way for people to do much.
To show what you can do with AngularJS directives and that combining it with D3.js it can be quite powerful (even without source code). Anybody who worked with D3.js, should know how much boilerplate code needs to be written to have a visualisation. By abstracting that code in directives, it allows users to use out-of-the-box d3.js graphs. Someone could go ever further to implement an "interface" to customize these graphs through angularjs.
To anyone who's interested: I replied to another comment with a tutorial blog of how to create d3.js directives
Re: AngularJS + D3.js = Radian
#13An excellent example of why HTML5 should have included namespaces. How would this validate or do people not care about that anymore?
Re: AngularJS + D3.js = Radian
#14An excellent example of why HTML5 should have included namespaces. How would this validate or do people not care about that anymore?
If you're referring to the custom elements, Angular will also let you do things in a way that validates. Something like:
Anyway see this article http://programming.oreilly.com/2013/04/stop-standardizing-ht...
Re: AngularJS + D3.js = Radian
#15This looks much more meaning fult than a div soup or even a proper table, I'd say. I'd definitely use it... > There are some contractual encumbrances that prevent us from open-sourcing it right now, but that may change at some point in the future ...only if it were open source.
Re: AngularJS + D3.js = Radian
#16An excellent example of why HTML5 should have included namespaces. How would this validate or do people not care about that anymore?
If you're referring to the custom elements, Angular will also let you do things in a way that validates. Something like:
Re: AngularJS + D3.js = Radian
#17Re: AngularJS + D3.js = Radian
#18Angular + d3 is beautiful. d3 is great but often far too low level and imperative (despite trying quite hard to be declarative). Wrapping d3 manipulations inside of Angular directives gives them a great deal of simplicity. I find myself creating all kinds of different classes of graphs, parameterizing them on HTML attributes, and dropping them into Angular scopes. With a little bit of careful throttling and $applying…
But I find it too low level : I don't see the point of manipulating and directives : is'nt it what SVG does already?
I'd rather use a or a directive.
Re: AngularJS + D3.js = Radian
#19There is also Dangle ( https://github.com/fullscale/dangle ), which is D3+Angular backed by ElasticSearch. So, if Radian cannot be open sourced, perhaps Dangle can pick up the slack.