Skip to main content
100%

curve graph

✓ Published0🌍 Public
Ssukumardunn
Last edited Feb 16, 2023
Created on Feb 2, 2023
Forked from HTML Starter

This curve graph displays five concentric donut rings, each representing a data value (45, 9, 66, 50, and 100) as a steel-blue arc against a transparent background, with percentage labels positioned along the inner gaps. Built with React and rendered as SVG, the visualization uses D3.js v3’s `d3.svg.arc()` and `d3.layout.pie()` to construct the arcs, mapping each data point to a ring with varying inner and outer radii. The code appends paths and rotates the entire group 180 degrees, while fill opacity decreases with each successive ring to create a layered effect.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes