kedro-org / kedro-viz

Visualise your Kedro data and machine-learning pipelines and track your experiments.
https://demo.kedro.org
Apache License 2.0
646 stars 106 forks source link

Include JSON dataset in the demo-project #1930

Closed SajidAlamQB closed 1 month ago

SajidAlamQB commented 1 month ago

Description

Related to: https://github.com/kedro-org/kedro-viz/issues/1929

Development notes

Replaced companies.csv with companies_json.json and added a new node that converts the json into a csv. This should make the json pre-viewable in the demo.

This is what it looks like with the new companies_json.json in the view

Edit:

After reviewing with Rashida we now have a new reporting node get_top_shuttles_data that takes the head of the input table and converts it into JSON. See below for results:

image

Checklist

ravi-kumar-pilla commented 1 month ago

Hi @SajidAlamQB ,

I see that #1929 suggests to replace companies to json. I think it would be nice to introduce a new dataset rather than modifying existing datasets in the demo_project.

Thank you

SajidAlamQB commented 1 month ago

I see that #1929 suggests to replace companies to json. I think it would be nice to introduce a new dataset rather than modifying existing datasets in the demo_project.

I'm not opposed but I feel like adding another dataset would be a bit random. If we wanted to include it for this demo we would have to rework it to make it feel natural.

SajidAlamQB commented 1 month ago

After reviewing with Rashida we now have a new reporting node get_top_shuttles_data that takes the head of the input table and converts it into JSON. See below for results:

image