All examples By author By category About

jamesleesaunders

D3 : Multi-dimentional Data Array - Column Chart

Multi-dimentional Data Array - Column Chart

A simple D3 script showing the use of the d3.range.map function to generate a simple multi-dimentional array. The code then generates a rather odd looking column chart with the bars height and width are set according to the data.

This rudimentary example uses html div's rather than svg rect's to generate the chart columns.