Dumbbell plot
Nobody has claimed this yet.
- Dominant language
- F#
- Stars
- 860
- Forks
- 99
- Avg merge
- 22m
- Merged PRs (30d)
- 1
Description
Description
Dumbbell plot [1] (also known as Dumbbell chart, Connected dot plot) is great for displaying changes between two points in time, two conditions or differences between two groups.
Example:
Pointers
- Ideally, you start prototyping in a scripting or notebook environment where you can iterate fast. installation instructions can be found here: https://plotly.net/#Installation
- Charts like this that are using baseline trace types to create a new chart type should only be implemented in the top-level Chart API. An example where this is already done is the Range chart that combines a set of differently styled line charts.
- When possible, use
#IConvertiblefor data input, as this allows forstrings, number types such asintandfloat, andDateTime.
References
Hints (click to expand if you need additional pointers)
- The most suitable base chart for this is a set of line charts that each connect the two data points by a line
- The high-level function should look quite similar to the base implementation of
Chart.Range
Contributor guide
No contributing guide indexed for this repository
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 in src/Plotly.NET/ChartAPI/Chart2D.fs, especially the Chart.Range implementation referenced by the issue. Prototype the chart in a scripting or notebook environment using the Plotly.NET installation instructions, and review how baseline line charts are combined. Done means a high-level Dumbbell chart API is available with flexible #IConvertible inputs and displays the two-point connections described in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- fsharp
- Domain
- data-visualization
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100