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

Implement a Contour Plot mod #91

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

VictorElHajj
Copy link

@VictorElHajj VictorElHajj commented Jul 7, 2022

This implements a Contour Plot mainly using d3-contours. It allows you to change the number of contour segments, change the color scale using the color axis, toggle smoothing as well as toggle the contour segment lines.

Tooltips display the min, mid and max value of each contour segment. Selecting a segment marks all the rows within that range of values. Selecting a segment while holding the control or shift keys adds onto the selection instead of replacing.

The image below shows a comparison between the existing heatmap visualization and the prototype contour plot. The dataset is just a quick sampling of the Goldstein-Price function for testing.

image

Things to do, maybe:

  • Could do with a prettier icon.
  • Toggle between linear interpolation and basis interpolation.
  • Use a drop down menu like other mods for the settings.

@VictorElHajj VictorElHajj marked this pull request as draft July 7, 2022 14:01
@VictorElHajj VictorElHajj marked this pull request as ready for review July 19, 2022 09:25
@VictorElHajj VictorElHajj changed the title Draft: Implement a Contour Plot mod Implement a Contour Plot mod Jul 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant