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

kedro-datasets: Implement plotly.HTMLDataset #787

Closed
yury-fedotov opened this issue Jul 27, 2024 · 0 comments · Fixed by #788
Closed

kedro-datasets: Implement plotly.HTMLDataset #787

yury-fedotov opened this issue Jul 27, 2024 · 0 comments · Fixed by #788

Comments

@yury-fedotov
Copy link
Contributor

Description

Currently both of existing plotly datasets save a figure as JSON and load from it.

This has a major limitation because viewing them requires running Python to parse it back as plotly object. The only options are kedro viz or catalog.load("figure_dataset").

I think there is value in having a plotly.HTMLDataset that would save figures on disk as HTML so:

  • They can be opened without the need to run Python.
  • It would also make them shareable with team members who don't have Kedro project setup.
  • Using versioned: True in catalog you'd get a convenient folder of HTML files that you'd be able to scroll through without running Python / Kedro.

Context

Sharing charts with teammates is a task I often encounter and it would be nice if I could share plotly charts as HTMLs rather than having to run kedro viz or catalog.load("figure_dataset") and doing a screenshot manually.

Possible Implementation

@yury-fedotov yury-fedotov changed the title Implement plotly.HTMLDataset kedro-datasets: Implement plotly.HTMLDataset Jul 27, 2024
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 a pull request may close this issue.

1 participant