Skip to main content
100%

HTML Starter

✓ Published0🌍 Public
Nnateh
Last edited May 19, 2020
Created on May 18, 2020
Forked from HTML Starter

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 description
MIT Licensed

Similar vizzes