🌍 Public
Viewing a saved revision (read-only)
26b9ab56a09a4d9e8e5731d3158ce8ba
Fork of HTML Starter
This example renders a 3 by 3 matrix of text labels using D3 v6 within an SVG container. The code defines a fixed width and height for the SVG and creates a group element for each row of the data array, translating each group vertically. Within each group, it appends text elements positioned horizontally, all displaying the string "toto". The visualization demonstrates how to bind nested data arrays to groups and use selection methods to generate repeated SVG elements based on that data structure.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.