Skip to main content
100%

First D3 Test

✓ Published0🌍 Public
Jjlonai@nnu.edu
Last edited Jul 9, 2020
Created on Jul 9, 2020
Forked from HTML Starter

A plain red square fills the entire 400-by-400 pixel SVG viewport, with no axes, labels, or data plotted. The example demonstrates the minimal setup for a D3 visualization by selecting the SVG element with `d3.select` and applying a CSS background color directly via `.style()`. It loads D3 v5 from a CDN and uses a bundled ES module import, relying on the SVG rendering approach. This serves as a first functional test, confirming that D3 and the SVG container are correctly connected.

AI-generated description

First D3 Test

MIT Licensed

Similar vizzes