> I have a CSV file which I want to read data column wise.
>
> A, 1
> B, 2
> C, 3
>
> I want to create HTML table like
> A , B , C
> 1, 2, 3
I've no experience with doing this in JavaScript, but I doubt the
problem is d3-specific. You will have to read the data in the usual
fashion then transpose it. Here's a StackOverflow topic about
transposing a 2d array:
http://stackoverflow.com/questions/4492678/to-swap-rows-with-columns-of-matrix-in-javascript-or-jquery
The handler callback passed to d3 could just call
t = data.transpose()
Skip