Questions tagged as 'd3.js'

0
answers

How to create table in d3 using a json key, key, value?

I wanted to create a table in d3.js and by data in json within the table, my json is as follows: freqData=[ {State:'2004',freq: {Diabetes:30, Alzheimer:0, Cancer:920, Others:0}} ,{State:'2005',freq:{Diabetes:400, Alzheime...
asked by 27.03.2018 / 18:59
0
answers

D3.js have reading attradasa?

Good afternoon, I'm doing a project in which I use d3.js, for this I have a TSV file with my data, however I have it when I do the following: console.log(this.maximo) //impressão 1 acharMaximo consol.log(this.maximo) //impressão 2 Within...
asked by 06.02.2018 / 13:24
0
answers

Line chart transition in D3

I made a bar chart in D3 with the population of different countries. When I click on the bar I create a chart of lines with population growth over the years from the country represented by the bar. The problem is that whenever I click on othe...
asked by 01.02.2018 / 18:09
0
answers

No csv file reading on d3

I'm trying to make a .md file that houses three views. When the second visualization (graphic) arrives, it gives the error below in the browser console. Iamtryingtoloadacsvfilethatisinthesamescriptfolderinjsthatcallsit.d3.csv("data3.csv", fu...
asked by 16.12.2017 / 03:14
0
answers

Increase a map of paths with d3.js

I'm creating a map of a state using D3.js o The code picks up the data from a GeoJson file to show the map of the screen but with a very small size. I do not use the .scale () and .translate ([]) functions to change the size of the map. the Geoj...
asked by 22.09.2017 / 04:57
1
answer

Problem in AJAX query in a loop

I have a view that has several pie charts, using the D3 plugin. Each chart should display different data. With PHP I make a foreach on the screen, creating the div where the graph will be displayed, each with a specific id . Then with J...
asked by 12.09.2017 / 16:10
0
answers

How do I implement a horizontal and vertical guide line using NVD3.js?

The NVD3 library does not support a horizontal guideline, and the vertical can not be controlled and does not return values that it intercepts on the chart. What is the best solution for using it in my project? Make a fork in the repository and...
asked by 05.06.2016 / 22:00
2
answers

with using D3.js offline [closed]

How can I use D3.js offline? I usually use the normal script  to use online. But I'm in need of a way to work with D3 offline     
asked by 17.09.2017 / 02:10