Vishwas1's picture
Upload 3 files
665be16 verified
|
raw
history blame
1.15 kB

🧪 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

Deploy on Hugging Face Spaces

  1. Create a new Space → Gradio template.
  2. Add these files at the root of the repo:
    • app.py
    • requirements.txt
    • README.md (optional)
  3. 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.