Skip to main content

Google Charts wordtree component for Streamlit

Project description

Streamlit Google Charts

Google Charts Component for Streamlit. A lightweight wrapper around React Google Charts

    import streamlit as st

    st.subheader("Bar Chart Demo")

    pop_data = [
        ['City', '2010 Population', '2000 Population'],
        ['New York City, NY', 8175000, 8008000],
        ['Los Angeles, CA', 3792000, 3694000],
        ['Chicago, IL', 2695000, 2896000],
        ['Houston, TX', 2099000, 1953000],
        ['Philadelphia, PA', 1526000, 1517000],
    ]

    gchart(key="city_chart", data=pop_data, chartType="BarChart", width='500px', height='300px', 
        title="Population of Largest U.S. Cities", hAxis={"title": 'Total Population', "minValue": 0}, vAxis={"title": 'City'} )

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

streamlit-gchart-0.1.8.tar.gz (518.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

streamlit_gchart-0.1.8-py3-none-any.whl (524.3 kB view details)

Uploaded Python 3

File details

Details for the file streamlit-gchart-0.1.8.tar.gz.

File metadata

  • Download URL: streamlit-gchart-0.1.8.tar.gz
  • Upload date:
  • Size: 518.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.5

File hashes

Hashes for streamlit-gchart-0.1.8.tar.gz
Algorithm Hash digest
SHA256 3eb1c4ed6c2fbc86c587773dd71e8ebcfee6a77304f08609b09c3519a7505e22
MD5 326d6e726b648ac7f773506a16b79957
BLAKE2b-256 04fc278df5cbc8cf4db2dbf0814ee9e394170917e82ed2698a0b02f52879d83d

See more details on using hashes here.

File details

Details for the file streamlit_gchart-0.1.8-py3-none-any.whl.

File metadata

  • Download URL: streamlit_gchart-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 524.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.5

File hashes

Hashes for streamlit_gchart-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 3d9c84667f1d859412f5feb0dad019cee74bc1b65dda044fb9acc999ebbf82e3
MD5 87091b8150a05db0610559f4bb6f26ac
BLAKE2b-256 9b9fcf1623d57cafe804813465b1df159c4b7ec9b043d92fcc185edffdeddacf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page