🌍 Public
Viewing a saved revision (read-only)
ad651458d9944649b4417eb44ce28d36
Fork of D3 Starter
This example demonstrates a simple D3 data-joining workflow that renders a collection of eleven image URLs as `<img>` elements on a page. It shows how to bind an array of string data to newly created DOM nodes using D3’s selection and `enter()` mechanism. The code uses `d3.select`, `.data()`, `.enter()`, and `.append()` to create each image, setting the `src` attribute with `.attr()`. The rendered result displays a row of images, with the page’s large font size acting as a visual backdrop. The example relies on D3 v6 and is minimal, focusing on the core enter-update-exit pattern.
AI-generated descriptionA demonstration of how to start using D3 version 6.