1
vote
0answers
25 views

How to parallelize d3.js or cubism.js

I'm following the examples on http://adambom.github.io/parallel.js/ Example: var p = new Parallel([0, 1, 2, 3, 4, 5, 6]), log = function () { console.log(arguments); }; function fib(n) { ...
1
vote
2answers
47 views

Translate d3.js JavaScript function to CoffeeScript

Afraid I'm making a simple error in in how I convert this JavaScript to CoffeeScript within a class In this original example of a world map we have a function : var quantize = d3.scale.quantize() ...
0
votes
2answers
34 views

Bind D3.js event to function?

Since I'm using D3.js via coffee, following codes works fine: $ -> force = d3.layout.force() .on('tick', -> alert('tick triggered')) But these don't, since at that time there isn't any ...
0
votes
1answer
29 views

d3.js / CoffeeScript: Access execution context (this) of both class and path in mouseover

I'm using a d3.js Streamgraph in a CoffeeScript class. I've adapted it so that on mouseover the color of the path changes and a tooltip appears. Now I want to pull out some of the tooltip logic into ...
0
votes
0answers
67 views

Backbone.js click events not firing

I'm trying to render things using D3 from a Backbone view. However, my events aren't firing, I think this is because I'm rendering in response to listening to an event triggered by my model. class ...
0
votes
0answers
45 views

Sorting table after filtering d3

So I have a table that filters on keydown in some input. I'm then trying to sort the remaining rows. I've tried a number of things, the attempt below works on the idea that I create the table with the ...
0
votes
1answer
19 views

D3.js selection does not have enter or exit

So I have this @currentlyDisplayedRows = @tbody.selectAll("tr").data( @collection.models.filter((d)=> if @filterFunc(toFilter,d) console.log "D" console.log d ...
0
votes
0answers
22 views

Passing in a sort callback to d3.sort

I have a selection like this - @thead.append("tr") .selectAll("th") .data(@columns) .enter() .append("th") .text((col)-> return col) ...
0
votes
1answer
44 views

D3.js filter existing table

So I have a table that I created with d3 and I'm trying to filter down the results based on the text in an input box. right now I have filterFunc:(toFilter,model)-> for column in ...
0
votes
1answer
51 views

How do I replace a node with an image using D3 and CoffeeScript for a network visualization?

I've been attempting to solve this problem for days, and am completely stumped. I'm using this network implementation walk-through: ...
-1
votes
1answer
33 views

Binding d3 table to Backbone collection

So I've tried @table = d3.select("#search-results-area").append("table").attr("id","resultsTable").attr("class","visualization-panel") @thead = @table.append("thead") ...
1
vote
1answer
52 views

D3.js table appending same data values

I'm trying to programmatically 'add' rows to a table that I've created using d3. @appendLine line for line in arr appendSingleColLine:(line)-> newModel = new PhoenixModel() ...
0
votes
0answers
26 views

Call Cofeescript global variable in method

My question basically refers to this example: https://github.com/vlandham/vlandham.github.com/blob/master/vis/gates/coffee/vis.coffee At the end of this script (on line 202) it calls the (view_type) ...
1
vote
1answer
168 views

MultiBar chart with nvd3 / d3 only shows labels for every other tick on the x-axis. How can I get them all to show up?

Data: nvd3TestData = [ { values:[ {x:"M",y:1}, {x:"T",y:2}, {x:"W",y:3}, {x:"R",y:3}, {x:"F",y:4}, {x:"S",y:5}, ...
0
votes
0answers
63 views

Handling an irregular time interval in rickshaw/d3?

I need to make use of the rickshawjs graphing library built on top of d3 for some fairly straightforward line graphs. This is fine with data that I control, but the data I will have coming in from ...

1 2 3
15 30 50 per page