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

Limit some functionalities? #22

Open
follhim opened this issue Aug 13, 2024 · 8 comments
Open

Limit some functionalities? #22

follhim opened this issue Aug 13, 2024 · 8 comments

Comments

@follhim
Copy link

follhim commented Aug 13, 2024

Is there a way to limit some functionalities for instance, is there a way for participants to not download the data as a csv.

I'm hoping to create an interactive website for data exploration, but with the ability to download the data off. I love the UI of the package, but saw that you can download the data as a csv which would not be possible with our sensitive data.

@bruceyyu
Copy link
Collaborator

@follhim This is a good idea. I plan to implement this recently, maybe in few weeks

@bruceyyu
Copy link
Collaborator

@follhim I just released v0.1.5, with a new param toolbarExclude to indicate tools to be excluded from toolbar UI.
In your case, you can use gwalkr(df, toolbarExclude=list("csv")) to exclude the csv exporting function.

For keys of other tools, you can refer to the source code of graphic-walker.

However, please note that Kanaries brand info is not allowed to be removed or changed unless you are granted special permission.

@follhim
Copy link
Author

follhim commented Aug 26, 2024

Ahhh this is amazing!
I'll definetly have to try this out later this week. When I do, I'll have to share the link of the website to show my gratitude!

@follhim
Copy link
Author

follhim commented Aug 27, 2024

Okay, so this is perfect, I love that the data is interactive and yet also safe from download (I will not be using github to post).

But my main issue is that there doesn't seem to be a way to get a histogram of one variable on the x-axis. Am I doing something wrong? Like I can see the histogram on the "data" tab.

I can do a scatterplot, but that's not the same as a histogram. I choose bar, which kind of works. But not with one variable.

https://mediaspace.illinois.edu/media/t/1_jti8smmu Would love to hear your advice

@bruceyyu
Copy link
Collaborator

Okay, so this is perfect, I love that the data is interactive and yet also safe from download (I will not be using github to post).

But my main issue is that there doesn't seem to be a way to get a histogram of one variable on the x-axis. Am I doing something wrong? Like I can see the histogram on the "data" tab.

I can do a scatterplot, but that's not the same as a histogram. I choose bar, which kind of works. But not with one variable.

https://mediaspace.illinois.edu/media/t/1_jti8smmu Would love to hear your advice

@follhim You want to visualize the distribution of a continuous measure, so actually the first step is to create the bins of that measure.

image

Then you can drag the bins to an axis, and drag the row count to another axis

@munoztd0
Copy link

munoztd0 commented Sep 9, 2024

Okay, so this is perfect, I love that the data is interactive and yet also safe from download (I will not be using github to post).
But my main issue is that there doesn't seem to be a way to get a histogram of one variable on the x-axis. Am I doing something wrong? Like I can see the histogram on the "data" tab.
I can do a scatterplot, but that's not the same as a histogram. I choose bar, which kind of works. But not with one variable.
https://mediaspace.illinois.edu/media/t/1_jti8smmu Would love to hear your advice

@follhim You want to visualize the distribution of a continuous measure, so actually the first step is to create the bins of that measure.

image Then you can drag the bins to an axis, and drag the row count to another axis

And from there how do you do an Density plot ?

PS: Your work is amazing cheers !

@bruceyyu
Copy link
Collaborator

bruceyyu commented Sep 9, 2024

Okay, so this is perfect, I love that the data is interactive and yet also safe from download (I will not be using github to post).
But my main issue is that there doesn't seem to be a way to get a histogram of one variable on the x-axis. Am I doing something wrong? Like I can see the histogram on the "data" tab.
I can do a scatterplot, but that's not the same as a histogram. I choose bar, which kind of works. But not with one variable.
https://mediaspace.illinois.edu/media/t/1_jti8smmu Would love to hear your advice

@follhim You want to visualize the distribution of a continuous measure, so actually the first step is to create the bins of that measure.
image
Then you can drag the bins to an axis, and drag the row count to another axis

And from there how do you do an Density plot ?

PS: Your work is amazing cheers !

@munoztd0 Thanks! Unfortunately, we don't support smoothing and proportion computation.
If you want to mimic a density plot in GWalkR, one workaround is to select line or area as your mark type, after you draw a histogram.

image

@munoztd0
Copy link

munoztd0 commented Sep 9, 2024

Oh that's clever, and good enough for what i need thanks !

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

No branches or pull requests

3 participants