Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of D3 Starter

Public visualization

Fork of D3 Starter

0 stars0🌍 Public
YYiorgos Bagakis
Last edited Nov 13, 2022
Created on Oct 22, 2022
Forked from D3 Starter

This example renders 50 static blue squares in a vertical layout using D3.js version 7. The code iterates fifty times without incrementing a counter, creating a loop that appends a single `div` with the class `item` to the body. The `d3.select` and `.append` methods place the element, while CSS styles define its dimensions and color. The visualization demonstrates basic DOM manipulation with D3’s selection API.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed