Questions tagged as 'd3.js'

1
answer

D3 the zoom only affects the axes

I'm using the library D3.js , and I'm creating a scatter-type chart divided into four quadrants. For now I have managed to divide the scatter in the quadrants and paint each quadrant of a color and insert the data. I have started to app...
asked by 16.03.2017 / 09:37
1
answer

Error using d3: "d3 is not defined"

I am starting to do my pininos with d3 in Python (using Jupyter ), with something very simple, but no matter what I do, I have errors. Go the code: from IPython.core.display import HTML, Javascript import json #Llamo a d3...
asked by 04.12.2018 / 00:45
1
answer

Place a select option inside a div with d3.js

I am trying to place a drop-down list (with select and option ) within a div and an SVG using d3.js, but it does not work and the select is not seen. I do not know if they are the properties or the reason why it happen...
asked by 30.11.2016 / 04:28
1
answer

Put a color to all the edges of a map in d3.js

I have a map, which you can find in the following link: link I want to paint all the edges of the states in red, but the outer edges are not painted red. What can I do?     
asked by 29.07.2016 / 22:19
0
answers

Graphing with bandwidth in D3 v4

Considering this example make one with my own data in V4 version, keeping in mind that many aspects change. But I graph in a single bar and change the axis but not the graphic. How do I leave my graphic, two different bars and not one, What...
asked by 14.12.2017 / 11:51
1
answer

D3 line breaks in title element

Based on this question in the English forum. I intended to do the same but in my case, there is no type of line break, neither in IE nor in the rest of browsers. In a first place (before trying the solution to that question), try this solut...
asked by 12.04.2017 / 07:13
1
answer

c3.js stacked area graph with negative values

I'm doing a stacked area chart with c3.js, but the graph does not look good when negative values are used. Example (Also available in JSFiddle ): var chart = c3.generate({ data: { columns: [ ['data1', 300,...
asked by 04.07.2016 / 07:45
1
answer

put a border to all regions of a map d3.js

I am new to this community. I have a map where I draw several regions, departments and municipalities. a department has municipalities. I want to assign a color to the borders of all the municipalities and a color. and another color to the edges...
asked by 31.07.2016 / 22:25
1
answer

d3 v4 apply zoom to center

I'm trying to find an equivalent to the d3.behavior.zoom() of the v3 version of d3.js. But until now I could not find anything. What I'm looking for is to be able to do .center([width / 2, height / 2]) , meaning that the zoom is...
asked by 20.03.2017 / 15:14
1
answer

Align two axes "and" at the level of 0 in C3 js

I am trying to align the Y axes with respect to the value 0, example: link I have temporarily solved it by putting a padding, but it is extremely sloppy and when re-dimensioning the graph or changing the data it is misplaced (unless the pad...
asked by 01.08.2016 / 17:01