SVG Fundamentals
✓ Published0🌍 Public
This example demonstrates basic SVG shape rendering and text output within a web page. It draws red and green circles, a yellow rectangle with a blue stroke, and an invalid triangle element, all inside a 960x500 SVG canvas. The code uses D3 version 7's `select` API to set the body text to "Hello D3 version 7." The visualization is pure SVG markup defined in static HTML, with no data source or dynamic interaction.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed