materialsproject / api

New API client for the Materials Project
https://materialsproject.github.io/api/
Other
113 stars 41 forks source link

[Feature Request]: data statistics #934

Open minhsueh opened 2 months ago

minhsueh commented 2 months ago

Problem

I would like to propose data statistics visualizations for the Materials Project, providing users with a quick overview of data size and the elemental distribution from different APIs.

I don't know if it is the right repo for this request, but I posted it here since I was using mp-API. Please let me know if something similar exists or if there is another suitable place (which might be documentation). Thanks!

Proposed Solution

mp_elemental_statistics This is the dashboard concept I have in mind. The histogram displays the data size across different APIs, while the heatmap shows the elemental distribution. Each cell represents the number of materials that contain the corresponding element. For instance, the cell for Si indicates the number of materials of Si-*.

Alternatives

No response

tschaume commented 2 months ago

@minhsueh thanks for the suggestion! Would you be willing to develop an MP-compatible Plotly Dash app for us? We have avenues to include user-developed Dash apps into MP and @yang-ruoxi can provide guidance.

PS: the best place for these requests is probably a post on our forum

minhsueh commented 2 months ago

Hi @tschaume and @yang-ruoxi, thanks for the invitation; I am excited to have this opportunity to contribute! I have been using Ploty for another project, and interactive visualization is definitely a good idea! Please let me know what repo/where I should look for.

yang-ruoxi commented 2 months ago

Thanks @minhsueh it would be great to have something like that! I have a currently private repo that is still being developed which takes contributed apps, I would be happy to chat about in details if you're interested.

minhsueh commented 2 months ago

@yang-ruoxi That would be awesome! Not sure how we will communicate, but here is my email: peter810601@gmail.com.