Entering edit mode
8.3 years ago
gsnaveen2
▴
30
I am just using data from another question with an additional column..
L1 L2 L3 L4 L5 GENE_NAME Values
Enzyme Kinase Protein Kinase Ser_Thr Cmgc MAPK11 1
Enzyme Kinase Protein Kinase Tyr Tk ABL1 2
Enzyme Kinase Protein Kinase Tyr Tk PDGFRB 3
Enzyme Kinase Protein Kinase Tyr Tk PDGFRA 4
Enzyme Kinase Protein Kinase Ser_Thr Tkl ALK 5
Enzyme Isomerase Isomerase Other gyrB 6
Enzyme Oxidoreductase Oxidoreductase Other ALOX5 7
Enzyme Oxidoreductase Oxidoreductase Other IMPDH1 8
Enzyme Transferase Transferase Other COMT 9
Enzyme Oxidoreductase Oxidoreductase Other RRM1 10
Enzyme Oxidoreductase Oxidoreductase Other PTGS2 11
Enzyme Lyase Lyase Other POLB 12
Enzyme Lyase Lyase Other CA5B 13
Enzyme Hydrolase Hydrolase Other GAA 14
Enzyme Protease Metallo MAM M10A MMP8 15
Enzyme Lyase Lyase Other CA5A 16
Enzyme Lyase Lyase Other CA7 17
Want to create a similar chart in D3js.
https://www.jasondavies.com/coffee-wheel/
https://strongriley.github.io/d3//data/flare.json
which is using the following format a snipet. for the full sample file please refer to the flare.json file link just above { "name": "flare", "children": [ { "name": "analytics", "children": [
Thanks for helping... Many thanks in advance..
Properly format your data in your post, I'm not able to make any sense out of it. Better you paste in a table format.
got it , new to this so .. learning.. thanks for highlighting it.
just updated the questions with clarification. Please refer flare,json for the sample. Since it is a big file i have a link for it,
Then it's already answered there
Where are you stuck? Were you just asking how to generate the json? This is confusing and a bit odd if the question you linked to has the solution.