🌍 Public
Viewing a saved revision (read-only)
9d5125b00b664f6c85bbc2a405566a33
D3 Playground
This example demonstrates basic D3.js v7 shape generation and data binding on an SVG canvas. It renders a small bar chart from an array of four numbers, with black rectangles positioned through the enter selection pattern, and places a large red symbol from `d3.symbol` at the center of the viewport. The code uses `d3.select`, `d3.range`, `d3.symbols`, and `d3.symbol` to draw the geometric forms, while sizing the visualization to match the full browser window dimensions.
AI-generated descriptionA demonstration of how to start using D3 version 6.