Using JavaScript Objects as Data Sources and Rendering a List of Rectangles

Giovanni Pace

Description

Let's see how to use JavaScript objects as data sources in D3.js to generate dynamic SVG shapes — I'll show you how to draw a series of rectangles from a data array, binding data directly to visuals.