adyfong / Project4_webmartix

0 stars 0 forks source link

Installing React-d3 #1

Open adyfong opened 7 years ago

adyfong commented 7 years ago

I am trying to use React-d3 but I am not sure whether I am install the right npm install and I wrote the code and I am having module error

@mgershow

adyfong commented 7 years ago

REACT-D3 data database to the right format. I installed it React-d3 and did some dummy data to render it and it works. Today I tried to get my data from database to render in React-dot. I got my data is it is in a dictionary format(key: value, key value) I tried to console log the data and it renders but check online to try to change my format to the format I need. I used array.map. however, I do have some questions

1) I am still confuse about whether my data should be this.prop or prop 2) My console.log data but now graph is missing, take data out and it is there? No error message etc on console or terminal. 3) I need a clearer understand on dictionary vs basis array and how to get it the format the graphs need. I checked online I want to show my code and see what is happening.

Thanks Adeline

@mgershow @jason @bobbydigital @trevor.preston

adyfong commented 7 years ago

REACT-D3 data database to the right format. I installed it React-d3 and did some dummy data to render it and it works. Today I tried to get my data from database to render in React-dot. I got my data is it is in a dictionary format(key: value, key value) I tried to console log the data and it renders but check online to try to change my format to the format I need. I used array.map. however, I do have some questions

I am still confuse about whether my data should be this.prop or prop My console.log data but now graph is missing, take data out and it is there? No error message etc on console or terminal. I need a clearer understand on dictionary vs basis array and how to get it the format the graphs need. I checked online I want to show my code and see what is happening. Thanks Adeline

@mgershowitz @jason @bobbydigital @trevor.preston

adyfong commented 7 years ago

@trevorpreston @gittheking @jasonseminara @rapala61 @irwintsay

adyfong commented 7 years ago

My problem has nothing to do with ReAct D3. My need to get dictionary data and splitting it up and converting them into integer. It is not working. I just want to ask for advice.

@trevorpreston @gittheking @jasonseminara @rapala61 @irwintsay

rapala61 commented 7 years ago

Hi Ady, can you close this issue, please? Thanks!