Fork of D3 Starter
✓ Published0🌍 Public
This example demonstrates a minimal D3.js version 7 setup by rendering a single, full-width SVG element. It colors the entire 960-by-500-pixel canvas blue by using `d3.select` to target the SVG element and the `svg.style` method to apply the background color. The code imports only the `select` function from the D3 module, and the visualization is a static, empty scene with no data or interactive elements. The HTML page loads D3 from a CDN and includes a separate JavaScript bundle, highlighting the basic structure of a D3 project.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed