Commit 43ccb28
authored
spec: add voronoi-basic specification (#3420)
## New Specification: `voronoi-basic`
Related to #3415
---
### specification.md
# voronoi-basic: Voronoi Diagram for Spatial Partitioning
## Description
A Voronoi diagram partitions a plane into regions based on the distance
to a set of seed points, where each region contains all points closer to
its seed than to any other. This visualization is essential for
understanding spatial relationships, proximity analysis, and territorial
boundaries. It reveals natural clustering patterns and helps identify
areas of influence around data points.
## Applications
- Analyzing service area coverage for retail stores or emergency
facilities based on customer proximity
- Visualizing territorial boundaries in ecological studies to show
animal home ranges or plant distribution zones
- Mapping nearest-neighbor relationships in urban planning for
optimizing resource placement like cell towers or hospitals
## Data
- `x` (float) - X-coordinate of seed points
- `y` (float) - Y-coordinate of seed points
- `label` (string, optional) - Identifier for each seed point
- Size: 10-50 seed points recommended for clear visualization
- Example: Random or structured point distribution within a bounded
region
## Notes
- Cells should be clipped to a visible bounding box to prevent infinite
regions
- Each Voronoi cell should be visually distinguishable through colors or
edge styling
- Seed points should be clearly marked within their respective cells
- Consider using a color palette that allows easy differentiation of
adjacent regions
---
**Next:** Add `approved` label to the issue to merge this PR.
---
:robot: *[spec-create
workflow](https://github.com/MarkusNeusinger/pyplots/actions/runs/20845032820)*
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>1 parent e0e0016 commit 43ccb28
2 files changed
Lines changed: 55 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
0 commit comments