Spaces:
Build error
Build error
🧪 Interactive Periodic Table (Gradio)
A lightweight, click-to-explore periodic table you can deploy to a Hugging Face Space.
Features
- Click any element to view properties (mass, density, melting/boiling points, radii, etc.).
- Search by symbol, name, or atomic number.
- Trend chart for the selected element.
- Periodic heatmap for a chosen property (e.g., electronegativity).
- A couple of fun facts per element (group-based + curated highlights).
Tech
- Gradio UI
periodictable
for element dataplotly
for charts
Deploy on Hugging Face Spaces
- Create a new Space → Gradio template.
- Add these files at the root of the repo:
app.py
requirements.txt
README.md
(optional)
- Commit. The Space will build and launch. If you see a build error, open the Logs tab.
Tip: Spaces sometimes sleep on free tiers; first load may take a bit while dependencies install.
Local development
pip install -r requirements.txt
python app.py
Then open the local Gradio URL in your browser.