🌍 Public
Viewing a saved revision (read-only)
db72b44b62c94238b001b3a255968a30
Fork of D3 Starter
This example demonstrates a simple D3.js starter template that creates a vertical series of 100 rectangular bars across the full width of the viewport. The visualization uses D3’s selection and data-join API (`select`, `selectAll`, and `join`) to generate SVG rectangles positioned by their `y` attribute, with each bar spaced 20 pixels apart. The code initializes an empty SVG element within the page body and relies on D3 version 7.8.2, loaded via CDN, to construct the graphic without any external data source.
AI-generated descriptionA demonstration of how to start using D3 version 6.