Skip to main content
100%

Arrays

✓ Published0🌍 Public
SSami Kauhanen-Duac
Last edited Jul 29, 2022
Created on Jul 29, 2022
Forked from HTML Starter

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 description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes