Category : d3.js

I try to make a combograph by d3.js but I have a problem width my graph, I follow this example https://www.d3-graph-gallery.com/graph/barplot_grouped_basicWide.html to make columns to group bar chart into my graph but when i console to display value x.bandwidth (x.bandwidth = 0 ) so my graph disappear. this is my code graph , It work ..

Read more

The graph connects the nodes proper but the links are not visible. I added the .attr("stroke", "black") .attr("stroke-width", 2) directly in the update() function. Before I had it in CSS which also wasn´t working. The browser inspector is telling me that the x, y positons are 0 for my link group. Which irritates me, usually ..

Read more

I got a problem with my D3v4 graph, each time I drag a node seems the DOM wants to redraw this node faster as it should be. I am initializing the svg area and the simulation. Further I put most of the enter().exit().remove() logic in an own function, to avoid redundancy. I appreciated any comment ..

Read more