Skip to main content

EDA tool for spatio-temporal data

Project description

GeoViz

GeoViz is an Exploratory Data Analysis tool designed to empower less-technical data analysts in visualizing and interpreting spatio-temporal data. It offers a user-friendly, interactive web interface built on Panel, ensuring simplicity and maximal explainability. The software provides visualizations, including 3D geographical coordinates, seasonality analysis, heatmap displays, and categorization/clustering using Natural Language Processing (NLP). With a focus on simplicity and shareability, GeoViz enhances data analysis for a broader audience.

The documentation can be found at our readthedocs page.

Example Usage

First, install GeoViz:

pip install rrcgeoviz

Once done, create an options.json file for your spatio-temporal CSV dataset. Here's a basic example:

{
    "latitude_column": "latitude",
    "longitude_column": "longitude",
    "time_column": "date",
    "poi_analysis": true,
    "month_year_heatmap": true
}

Finally, run GeoViz with the following command:

rrcgeoviz path/to/dataset.csv --options path/to/options.json

A tab should open in your browser with a heatmap and Points of Interest (POI) analysis!

Brief overview of how it works (for contributers)

When running from the command line, the main() function in src/rrcgeoviz/geoviz_cli.py runs. The options and dataset are stored in an Arguments object (found in the same file) and passed to the render_panel() function at src/rrcegeoviz/panel/main_panel.py.

Render_panel creates a Bootstrap Panel template which has a "main" element. Based on the options in the Arguments, different panel components (e.g. heatmap, POI, etc.) are added to the "main" element in addCorrectElements(), called by render_panel().

Code that generates data should be called in a generateData() function called by main() before render_panel(). All that the panel components should do is create visualizations of the data, not create it!

Here's a general flow of how to add new components:

  1. If new data is required (e.g. distance to nearest POI) create a new data generation function file in src/rrcgeoviz/datagenerators.
  2. If a new data generator was made, add a call to it in generateData().
  3. Create the panel component in src/rrcgeoviz/panel/panel_components. Look at other components in the directory for a sense of what they look like.
  4. Add a check for the relevant option in addCorrectElements(), looking at other examples to see how it's done. Be sure to add checks for other options required for it to work (e.g. time_column).

That's pretty much it!

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

rrcgeoviz-0.0.5.3.tar.gz (8.5 kB view details)

Uploaded Source

Built Distribution

rrcgeoviz-0.0.5.3-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

Details for the file rrcgeoviz-0.0.5.3.tar.gz.

File metadata

  • Download URL: rrcgeoviz-0.0.5.3.tar.gz
  • Upload date:
  • Size: 8.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for rrcgeoviz-0.0.5.3.tar.gz
Algorithm Hash digest
SHA256 d45bfa287271bdfc008383a16b01a0670a7dd486e7ac1ab2fc5643f51f259b44
MD5 f5b8ed153562df7de91b2062b22765cf
BLAKE2b-256 9ce57eae56ec6352afb820591db5f4709ced054247ea417bb46e1b5f04cecf81

See more details on using hashes here.

File details

Details for the file rrcgeoviz-0.0.5.3-py3-none-any.whl.

File metadata

  • Download URL: rrcgeoviz-0.0.5.3-py3-none-any.whl
  • Upload date:
  • Size: 8.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for rrcgeoviz-0.0.5.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a1a16d110b3abc84ac3513f1554f2fac11b9b4f506a49e70687379f7333a2833
MD5 541db14b46129b2554b781a0482ab755
BLAKE2b-256 aece6d70166b55e3e05d31062058e1f79d9fd5e42036d352b6bdac728f0e6649

See more details on using hashes here.

Supported by

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