observablehq / observablehq/plot
Support SVG patterns as a color scheme
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 5.4k
- Forks
- 244
- PR merge metrics
- No merged PRs in 30d
Description
we could select a list of "standard textures" to propose as an ordinal color scheme? e.g. {scheme: "textures"}; Plot would be responsible for adding the necessary and would return the corresponding funciri ("url(#texture1)" etc.)
(follow-up on #362)
cc @awiederkehr
related: #805
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
Start by reading follow-up issue #362 and related issue #805, then inspect Plot’s color-scheme API and SVG output behavior. Define the standard textures and the returned url(#texture1)-style values, with Plot adding the required ; done when textures can be selected as an ordinal color scheme.
Written by the indexing model from the issue text.
Assessment
- Domain
- data-visualization
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100