plotly/Plotly.NET

Lollipop chart

kMutagene opened this issue · 4 comments

Description

A Lollipop chart is a categorical chart that is basically a bar chart replaced by points being connected by a line to the zero-line of the reference axis representing the data. It can be helpful to reduce visual noise when all values have a similar height [1].

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 zero line to a data point
  • The high-level function should look quite similar to the base implementation of Chart.Bar
Ben757 commented

Working on it
#FsLabHackathon2023

Hey @Ben757. Are you still planning to finish this? If not, I would greatly appreciate if you could link what you ended up with during the hackathon (e.g. a script or notebook you worked in) so others can use it as a foundation to tackle this chart. If also do not have anything to link, no worries, please just tell me that this issue is up-for-grabs again. Thanks ❤️