HTML Starter
✓ Published0🌍 Public
This example renders a single yellow circle with a red outline centered inside an SVG element. It demonstrates the basic structure of a D3.js visualization in an HTML page, using d3.select to access the SVG and chaining .attr calls to set the circle’s radius, position, and colors. The SVG dimensions are read directly from the DOM via .attr('width') and .attr('height'). The visualization is minimal, serving as a template for building more complex charts while running D3 v6 within a React project setup.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.
MIT Licensed