Fork of Let's make a face with D3.js!
✓ Published1🌍 Public
This example displays a blank SVG canvas with a scripted attempt to create fruit objects using D3.js. The code imports `select` and `range` from `d3`, selects the SVG element, and uses `range(5)` to generate an array of five apple objects via `makeFruit`. It then logs the array to the console, but no visual face or fruit is rendered. The SVG remains empty, with the page styled by CSS that hides overflow and margins. The example relies on D3 v5 and the svg rendering framework.
AI-generated descriptionMIT Licensed