Skip to main content
100%

Fork of d3

✓ Published0🌍 Public
Ggyanendra verma
Last edited Mar 26, 2021
Created on Mar 26, 2021
Forked from d3

This example shows a bold, minimal visualization: a 500-pixel SVG square with a solid red background, rendered inside an HTML page. The page loads the D3.js v6 library from a CDN and uses a simple script to select the SVG element and apply the background color via the `style` method. The code relies on D3’s selection API to target the SVG and set its CSS property, resulting in a static, full-color graphic with no data or interaction. It demonstrates basic D3 usage with an SVG canvas and a plain JavaScript script.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes