Skip to content

jedmondson6614/DataViz

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Blockly demo

Manipulate Blocks

1. Drag the "Dataframe" block to the right side
2. Place the "Link to input data.." block inside of the Dataframe block
3. Attach "Remove Null Values" block underneath that
4. Attach desired plot block, for example, "x = ..." block underneath that, and choose desired options or leave the default
5. Attach "theme" block, and chose
6. Attach "Export Plot" underneath that
7. Click "Generate Python"
8. (If running locally) Click "Save Python" 

Run locally OR in colab:

  • Locally:

    • pip install pandas
    • pip install ggplot
    • Run the generated_code.py file from the directory it's saved to:
    • python3 generated_code.py
    • The png will be downloaded in the same directory
  • Colab:

    • Copy generated python code
    • Press play to run
    • Image will show up in files tab in the notebook
    • (Optional) type additional line: plt
      • displays image below the code after running

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 61.2%
  • HTML 35.2%
  • CSS 3.6%