plotly / plotly/Plotly.NET

Dumbbell plot

Open
#418 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Difficulty: Beginner FsLab Hackathon 2023
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 #IConvertible for data input, as this allows for strings, number types such as int and float, and DateTime.
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.