Code Monkey home page Code Monkey logo

periodic-table-json's Introduction

Periodic-Table-JSON

A json of the entire periodic table. Feel free to use it in your projects.

Temperatures such as boiling points and melting points are given in Kelvin. Densities are given in g/l for gases and g/cm³ for solids and liquids and molar heat in (mol*K). Information that is missing is represented as null. Some elements may have an image link to their spectral bands.

All elements have a three sentence summary from Wikipedia.

Electron configuration is given as a string, with each orbital separated by a space. Electron configuration semantic is given as a string, this is the short-hand version of the electron configuration. Elements with a semantic electron configuration marked with a "*" mean that the electron configuration has not yet been confirmed. Electron shells are given as an array, the first item is the number of electrons in the first shell, the 2nd item is the number of electrons in the second shell, and so on.

Both ionization energy and first electron affinities are given as the energy required to detach an electron from the anion. Ionization energies are given as an array for successive ionization energy.

A link to the source where the information was from is provided in each element under the key "source".

A link to image Bohr model (of the atom) is available under "bohr_model_image" key. A link to 3d-image of Bohr model available under "bohr_model_3d" key, file obtained from google with .glb extention and these 3d models can easily display on web using google model-viewer script

Here's an example of how it's formatted:

{
  "elements": [
    {
      "name": "Hydrogen",
      "appearance": "colorless gas",
      "atomic_mass": 1.008,
      "boil": 20.271,
      "category": "diatomic nonmetal",
      "density": 0.08988,
      "discovered_by": "Henry Cavendish",
      "melt": 13.99,
      "molar_heat": 28.836,
      "named_by": "Antoine Lavoisier",
      "number": 1,
      "period": 1,
      "group": 1,
      "phase": "Gas",
      "source": "https://en.wikipedia.org/wiki/Hydrogen",
      "bohr_model_image": "https://storage.googleapis.com/search-ar-edu/periodic-table/element_001_hydrogen/element_001_hydrogen_srp_th.png",
      "bohr_model_3d": "https://storage.googleapis.com/search-ar-edu/periodic-table/element_001_hydrogen/element_001_hydrogen.glb",
      "spectral_img": "https://en.wikipedia.org/wiki/File:Hydrogen_Spectra.jpg",
      "summary": "Hydrogen is a chemical element with chemical symbol H and atomic number 1. With an atomic weight of 1.00794 u, hydrogen is the lightest element on the periodic table. Its monatomic form (H) is the most abundant chemical substance in the Universe, constituting roughly 75% of all baryonic mass.",
      "symbol": "H",
      "xpos": 1,
      "ypos": 1,
      "wxpos": 1,
      "wypos": 1,
      "shells": [
        1
      ],
      "electron_configuration": "1s1",
      "electron_configuration_semantic": "1s1",
      "electron_affinity": 72.769,
      "electronegativity_pauling": 2.2,
      "ionization_energies": [
        1312
      ],
      "cpk-hex": "ffffff",
      "image": {
        "title": "Vial of glowing ultrapure hydrogen, H2. Original size in cm: 1 x 5",
        "url": "https://upload.wikimedia.org/wikipedia/commons/d/d9/Hydrogenglow.jpg",
        "attribution": "User:Jurii, CC BY 3.0 <https://creativecommons.org/licenses/by/3.0>, via Wikimedia Commons, source: https://images-of-elements.com/hydrogen.php"
      },
      "block": "s"
    }
  ]
}

Additional Formats

Besides the original JSON file PeriodicTableJSON.json, the data is provided in the following additional formats:

  • As a lookup table for easy indexing in periodic-table-lookup.json.

  • As a CSV file (one row per element and one column per property, where some subfields are flattened to strings) in periodicTableCSV.csv.

These files are generated from the original data via scripts in the directory scripts.

periodic-table-json's People

Contributors

bowserinator avatar peterbeard avatar joshhales1 avatar madsfaerch avatar aarjithn avatar lorenzolewis avatar wolfy1339 avatar ptrandev avatar amirali-az avatar u840903 avatar twelvebaud avatar cdstanford avatar hellmrf avatar janosh avatar pohli avatar octylfractal avatar mahran-sayed avatar onebytegh avatar patrickwinkler avatar rahulshahare avatar zachintosh avatar adyngom avatar messenger91 avatar nucular avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.