java - Problems converting a csv file to flare.json -
i not programmer , new java. have searched method convert csv flare.json use in d3.js data visualisations. simplest method found here
https://github.com/albertchang/csv-to-flare.json-d3-parser/blob/master/readme.md
i tried keep receiving error message in command line (terminal on mac os x el capitan):
command not found. java , javac programmes present , correct recent versions.
here screenshot of working directory located in d3_projects sub folder.
here first few rows of csv file
type,ca1,ca2,ca3,ca4 customer,sales , marketing,marketing,market research, customer,sales , marketing,marketing,marketing communications, customer,sales , marketing,marketing,pricing, customer,sales , marketing,sales,sales planning , forecasting, customer,sales , marketing,sales,customer segmentation, customer,sales , marketing,sales,customer acquisition,opportunity management
there empty flare.json file in working directory (i tried run programme without empty file).
below copy of added terminal , error messages
last login: thu apr 21 19:40:19 on ttys000 have mail. rics-macbook-pro:~ ric$ cd /users/ric/documents/d3_projects rics-macbook-pro:d3_projects ric$ $ javac -cp json-simple-1.1.1.jar d3taxonomy.java $ java -cp json-simple-1.1.1.jar: d3taxonomy taxonomy_ca.csv " , " -bash: $: command not found rics-macbook-pro:d3_projects ric$ $ javac -cp json-simple-1.1.1.jar d3taxonomy.java $ java -cp json-simple-1.1.1.jar: d3taxonomy ca.csv " , " -bash: $: command not found
as can see have tried various permutations keep getting same error
$: command not found
what doing wrong?
answered @seemant kulleen
just q close.
so error when copied code left $ sign terminal inside commands.
Comments
Post a Comment