Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of D3 Starter

Public visualization

Fork of D3 Starter

0 stars0🌍 Public
Ffaroukaf
Last edited Jan 20, 2023
Created on Jan 20, 2023
Forked from D3 Starter

This example demonstrates a minimal D3.js visualization that renders an empty SVG canvas with a solid red background. The code imports the `select` function from D3 and uses it to target an SVG element within an HTML page, then applies the background color styling through D3’s `style` method. The visualization relies on D3 v7.6.1, loaded via the unpkg CDN, and the complete setup is contained in an `index.html` file with a separate `bundle.js` script for the custom logic.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed