Offer JavaScript support for built-in colorways or scales defined by name
Open
Nobody has claimed this yet.
feature
P3
- Dominant language
- JavaScript
- Stars
- 18.3k
- Forks
- 2k
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 28
Description
It would be convenient not to have to manually define the colorway or scales for certain plots, such as bubble plots, with an array of colors. I'd like to specify it via import or string, for example:
layout = {
xaxis: {
range: ...
},
yaxis: {
range: ...
},
title: 'My plot',
colorway: ['#f3cec9', '#e7a4b6', '#cd7eaf', '#a262a9', '#6f4d96', '#3d3b72', '#182844'], // Here is where I'd like to just specify a theme basically
}
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 searching the repository for colorway handling and plot layout configuration, then review how built-in scales or themes could be named or imported. Done means a plot can select a built-in colorway or scale by name or import instead of supplying an array manually.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- data-visualization
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100