Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

HTML Starter

Public visualization

Viewing a saved revision (read-only)

957fb0c2582b48348d42b7ff5ac1940f

HTML Starter

0 stars0🌍 Public
FFranz Krah
Last edited Jan 20, 2020
Created on Jan 20, 2020
Forked from HTML Starter

This example displays a blank SVG canvas with a red background, demonstrating the minimal setup required for a D3 visualization in an HTML page. The code uses the D3 v5 `select` function to target the SVG element and applies the background color via the style method. The page loads D3 from a CDN and references a bundled JavaScript file, showing the basic structure for integrating D3 with a React framework.

AI-generated description

A bare minimum HTML page.

See also React Starter.