Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New chart types to add #6

Open
bothness opened this issue Nov 29, 2021 · 4 comments
Open

New chart types to add #6

bothness opened this issue Nov 29, 2021 · 4 comments
Labels
enhancement New feature or request

Comments

@bothness
Copy link
Member

Use this issue to post requests for new chart types to be added. Ideally include screenshots.

@bothness
Copy link
Member Author

Legend chart with breaks. Something akin to these charts, used as map legends. It should be able to have markers for selected, hovered and highlighted areas, with option value labels for each.
image

@bothness
Copy link
Member Author

Dot plots. I coded a version of these in this article (see github repo). Probably needs to be re-coded.
image

@sean-og8
Copy link

sean-og8 commented Aug 30, 2023

Hi @bothness ,

I'm a big fan of this repo and your scrolly work in general!

I've adapted your ScatterChart component to include trend lines:

image

I've added a ScatterChartTrendLines component which has the same functionality as the original component but users can specify an arbitrary line for each group in the data series (using the multiline component form the shared folder).

I'm not sure whether this is something you'd find useful to put back into the main repo or whether you'd like to keep it 'clean' but I thought I'd share regardless!

I'm also working on some other additions to a fork of your repo which you might be interested in, including:

  • adding annotated line series on line charts (i.e the group name at the end of the line).
  • Automatically annotating 'extreme' points on scatter charts.
  • adding average lines on grouped bar charts.

@bothness
Copy link
Member Author

Hi @sean-dluhc ,

Sorry for missing your comment. If you find a logical way to integrate any new features, do feel free to submit a pull request and we can look at how to merge.

Also, I'd be interested to chat about how you're using the charts and any longer feature wish list you might have. We've been a bit in two minds as to how much to invest in this library, or whether we can build on other emerging Svelte or JS chart libraries that can offer a wider variety of charts.

You can reach me at ahmad [dot] barclay at ons [gov uk].

@bothness bothness added the enhancement New feature or request label Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants