{% extends "base.html" %} {% block title %}Periodic Table - {% endblock title %} {% block main %}

Periodic Table

{% set data = read("/chemistry.json") | parse("json") %} {% set table = data.elements %} {% for period in range(0, table | map(attribute="Period")| max) %} {% for group in range(0, table | map(attribute="Group")| max) %} {% endfor %} {% endfor %}
{% for el in table %} {% if el.Group == group + 1 and el.Period == period + 1 %} {{el.Symbol}} {% endif %} {% endfor %}
Raw Data JSON TOML
{% endblock main %}