HTML Starter
✓ Published0🌍 Public
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 descriptionA bare minimum HTML page.
See also React Starter.
MIT Licensed