🌍 Public
Viewing a saved revision (read-only)
5e1da4e823cd472090149c7c3dc8a7bf
Arrays
This example visualizes a simple array of numeric values as circles rendered in an SVG canvas. The code uses d3.select to create an SVG element sized to the full browser window, then prepares to bind the array data to circle elements. While the circle positioning and styling logic is incomplete, the example demonstrates the foundational pattern of data binding with d3’s selection and data join methods. The array `[2, 1, 3, 20]` serves as the dataset, with d3 version 7.6.1 imported via npm.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.