A simple template for visualizing an interactive periodic table.
Try it on LiaScript:
See the project on Github:
https://github.com/LiaTemplates/PeriodicTable
Just include the macro in your import
statement and call @PeriodicTable
or @PeriodicTablewithStyle()
import: https://github.com/LiaTemplates/PeriodicTable/blob/main/README.md
@PeriodicTable
@PeriodicTable.withStyle("width: 50%; height: 600px;")
@PeriodicTable
@PeriodicTable.withStyle("width: 50%; height: 600px;")
This LiaScript macro is based on the implementation of Bowserinator. The original example can be found at CodePen.