necklace around square
✓ Published0🌍 Public
PPatrick Wojda
Last edited Mar 22, 2019
Created on Mar 20, 2019
A necklace of colored donut slices encircles a central scatterplot of random points, connected by radial spokes. Each slice is rendered with an SVG `path` using `d3.arc`, while dots positioned at random coordinates inside a square crosshair use `d3.pie` to map values. The code applies `d3.scaleOrdinal` for color, draws dashed guide lines, and uses a `rect` boundary to frame the chart area.
AI-generated descriptionBuilt with blockbuilder.org
forked from <a href='http://bl.ocks.org/GitNoise/'>GitNoise</a>'s block: <a href='http://bl.ocks.org/GitNoise/983b35042c0d105eb7a54a3a6b2a0c24'>donut chart</a>
mit Licensed