Coder Social home page Coder Social logo

periodic-table-creator's Introduction

Periodic Table Creator

Open in Streamlit Twitter

About

This Periodic Table Generator started with the idea for a blog about a Periodic Table of Natural Language Processing Tasks. With the help of Streamlit and inspired by this Bokeh gallery example it became a dynamic creator that can be customized to your Periodic Table!

The result

Open the demo app!

Below an example of a customized Periodic Table. In this case: for Natural Language Processing Tasks!

alt text

Install and run

pip install -r requirements.txt
cd periodic-table-creator
streamlit run periodic_table_creator.py

Load your own content

Create your own Periodic Table by loading your content via your own CSV file. Look here or at the "Edit CSV text" section for an example of the CSV format:

  • header column names: atomicnumber;group;period;symbol;elementname;groupname;color;url;excerpt
  • semicolon or comma seperated
  • csv extension
  • utf-8 encoding

alt text

Customize the figure

Customize your own content in the sidebar. You can edit the Title, Font, Color, Scaling and Trademark.

alt text

periodic-table-creator's People

Contributors

innerdoc avatar nodearcnode avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

periodic-table-creator's Issues

Periodic table not displayed

Hello,

Both when I run the code in my local machine and when accessing the demo url:

  • the periodic table is not displayed
  • locally I get these "Bokeh" errors:
    E-1001 (BAD_COLUMN_NAME): Glyph refers to nonexistent column name. This could either be due to a misspelling or typo, or due to an expected column being missing. : key "text_font" value "Helvetica" [renderer: GlyphRenderer(id='1043', ...)]

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.