Smile
✓ Published0🌍 Public
A single black circle floats at the center of an SVG canvas, rendered against a white background. The example demonstrates a minimal D3.js setup within a React project harness, using the d3.select API to target the SVG element and d3.append to add the circle primitive. The circle’s radius is set to 200 pixels via the attr method, with no interaction or animation. The page is built from an HTML file that loads D3 v7.3.0 from a CDN, styled by a simple CSS file that removes body margins and hides overflow.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed