data vis 1
✓ Published0🌍 Public
This example displays a single large yellow circle with a black outline and a separate circular arc path rendered below it, creating a simple two-shape composition. The visualization uses React to define the SVG structure, while D3’s `arc` generator computes the path for the second shape with specified inner and outer radii and a full 360-degree angle. The code imports the `arc` function directly from D3 and logs the generated path data to the console, demonstrating how D3’s shape generators integrate with React’s declarative JSX rendering.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed