HTML Starter
✓ Published0🌍 Public
This starter template demonstrates the minimum setup for a D3.js project, loading the library from a CDN and wiring it to an SVG canvas. The code selects a fixed 960-by-500-pixel SVG with `d3.select` and immediately changes its background to red via the `style` method, serving as a trivial visual confirmation that the D3 bindings are functional. It uses the D3 v5 API alongside a linked external stylesheet, and the example focuses on establishing the core HTML, script, and SVG structure common to more complex visualizations.
AI-generated descriptionMIT Licensed