AutoViML / AutoViz

Automatically Visualize any dataset, any size with a single line of code. Created by Ram Seshadri. Collaborators Welcome. Permission Granted upon Request.
Apache License 2.0
1.71k stars 197 forks source link

JSON file example #32

Closed kishan19 closed 2 years ago

kishan19 commented 3 years ago

Is there an example where I could use a JSON file with AutoVIZ, seem to be running into errors. Would be good to have a sample file that works.

AutoViML commented 3 years ago

The reason I don't have an example is very simple -> JSON's are very hard to visualize since they may not have a consistent structure Instead if you load the JSON into a Pandas DataFrame you will have a consistent structure (columns) to the data and then you can feed it to AutoViz. Try that approach first and see if it works. Ram

On Mon, Nov 23, 2020 at 8:34 PM Kishan notifications@github.com wrote:

Is there an example where I could use a JSON file with AutoVIZ, seem to be running into errors. Would be good to have a sample file that works.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/AutoViML/AutoViz/issues/32, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMKBH6HABN5BY7CHEWTOA5LSRMESPANCNFSM4UAHNJQQ .

john012343210 commented 3 years ago

Understand that it doesn't have a consistent structure, so it is hard.

But on the main page, you said you could feed JSON into autoviz, however seems all JSON will produce the error.

Maybe we could remove that statement until we find some good way to parse the JSON file.

Thanks!

AutoViML commented 2 years ago

Hi @sunset1234321 👍

I have created a Kaggle Notebook to show how you can create charts using JSON files. If you feel that this functionality should be in AutoViz directly, then I can incorporate it. Take a look at this notebook: Kaggle Notebook on JSON file

Hope this helps, AutoViML