observablehq / observablehq/plot
The image mark could support the stroke property
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- HTML
- Stars
- 5.4k
- Forks
- 244
- PR merge metrics
- No merged PRs in 30d
Description
I can approximate stroked images using CSS outline (and border-radius):
image {
outline: solid 1px black;
border-radius: 100%;
}
But it’d be nicer if the image mark interleaved SVG circle elements on top of each image element if you have a stroke.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file or test is named in the issue. Start by locating the image mark implementation and its rendering tests, then inspect how image elements and SVG circle elements are composed. Done means an image mark with a stroke renders the requested stroked appearance while preserving the existing image behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css
- Domain
- data-visualization
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100